<uni-list >
<uni-list-item v-for="(item, itemIndex) in testlist" :key="itemIndex" :title="'aaaaaaa'"> </uni-list-item>
</uni-list >
- 发布:2019-01-10 15:18
- 更新:2020-03-08 23:25
- 阅读:3194
haoMan (作者) - 活到老学到老
如下这样才行 我不是很懂为什么
<view class="uni-list">
<view v-for="(list, index) in lists" :key="index">
<uni-list-item :title="'aaaaaaa'"></uni-list-item>
</view>
</view>
4***@qq.com - 大哥程序员
<uni-list v-for="(item,index) in news" :key="index">
<uni-list-item :show-arrow="true" :title="item.a" :note="item.b" @click = "cc"/>
</uni-list>
weucn
你这个是代码是放在父页面还是子组件
2019-10-07 09:42