fix: 计划查看-无数据时展示内容
This commit is contained in:
@@ -80,7 +80,8 @@
|
|||||||
<view class="demo-uni-col mar-left color-white" @click="handleDetail(index, i)"
|
<view class="demo-uni-col mar-left color-white" @click="handleDetail(index, i)"
|
||||||
:style="{ backgroundColor: COLOR_MAP[item[field]] }"
|
:style="{ backgroundColor: COLOR_MAP[item[field]] }"
|
||||||
><!--@click="handleView(index, i)"-->
|
><!--@click="handleView(index, i)"-->
|
||||||
<text>{{ item[field] }}</text>
|
<text v-if="item[field]">{{ item[field] }}</text>
|
||||||
|
<text v-else style="color: gray">暂无</text>
|
||||||
</view>
|
</view>
|
||||||
</uni-col>
|
</uni-col>
|
||||||
</block>
|
</block>
|
||||||
|
|||||||
Reference in New Issue
Block a user