uniCard里面无法渲染数据
<view v-show="current === 0" v-for="item in rest_datas" :key="item">
<view class="solt"></view>
<uni-card title="我提交的请假申请" extra="状态:未批准" :note="item.date">
<view class="items"><text>开始时间:</text><text>{{item.startDate}}</text></view>
<view class="items"><text>结束时间:</text><text>{{item.endDate}}</text></view>
<view class="items"><text>请假事由:</text><text>{{item.reason}}</text></view>
<view class="items">
<text>附件:</text>
<image :src="item.url" class="rest_img"></image>
</view>
</uni-card>
</view>
只有note有数据 下面的没有
2***@qq.com
- 发布:2019-01-07 12:42
- 更新:2019-01-07 15:27
- 阅读:1953
2 个回复
Neil_HL
我测试没问题啊,附件是我的测试demo你试试,或者你可以把你的demo发出来,我帮你看看
2***@qq.com (作者) - 学习中...
谢谢,我自己仿着uniCard的样式自己写的