【发布时间】:2019-11-28 22:23:14
【问题描述】:
我可以访问我的数据,例如第一个 Label 元素中的lowText。但是当我在 Pager 组件和 v-template 内部时,我无法访问它。如何在它的上下文中通过?
<StackLayout>
<Label :text="this.lowText" />
<Pager for="item in items">
<v-template>
<Label :text="this.lowText" />
</v-template>
</Pager>
</StackLayout>
【问题讨论】:
标签: vue.js nativescript nativescript-vue