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/