javascript - "TypeError: Cannot read property ' 作用域 Fn ' of undefined"。这是什么?

标签 javascript android vue.js nativescript nativescript-vue

1) 我的标题似乎没有被识别,它总是全屏显示正常的 v-template,忽略标题。

2) 当我尝试在我的标准 v-template 上命名时,我的应用程序崩溃了,我收到了这个问题标题中提到的错误。

为什么会发生这种情况,这意味着什么?

这适用于需要显示在高度为 200 的 GridLayout(标题)下方的列表。我不知道我还能尝试什么来解决这个问题。

<RadListView @scrolled="onHomeListScroll" for="(post, index) in list" ref="listView" row="0">

       <v-template name="header">
          <GridLayout height="200" />
       </v-template>

       <v-template name="standardTemplate">
          <Label text="test" />
       </v-template>

</RadListView>

最佳答案

Grid Layout rows property 设置为200 问题已解决。

出于某种原因,row 有效,而 height 无效。

关于javascript - "TypeError: Cannot read property ' 作用域 Fn ' of undefined"。这是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55642765/

相关文章:

javascript - 对表格进行排序但使一列不移动

javascript - 试图找出这段代码,javascript中的对象

javascript - 从json中获取准确的数据进行react

如果小于另一个值错误超过一位数字,Javascript 将添加值

java - Android Gradle 项目中包含 Apache HttpComponents 的问题

android - TextView 未在自定义 View 中更新

vue.js - 1 秒后自动隐藏 VueJS 中的元素

Android 如何在 google map v2 的 fragment 中传递类对象?

javascript - 渲染错误 : "TypeError: Cannot read property ' length' of undefined"

node.js - 如何从 Nodejs 应用程序连接到 Heroku 上的 PostgresQL?