优化代码

This commit is contained in:
wuxw 2022-11-01 15:42:27 +08:00
parent 3e4bc6600a
commit 5b350bc97d

View File

@ -1,11 +1,11 @@
<template>
<view>
<view class="text-center margin-top-100" v-if="taskDetails.length > 0">
<view class="text-center margin-top-100" v-if="!taskDetails || taskDetails.length == 0">
<view class="">
<text class=" cuIcon-warnfill light text-orange no-data-icon"></text>
</view>
<view class="">
<text class="text-gray">当前没有巡检任务</text>
<text class="text-gray">当前没有巡检任务或者没到巡检时间</text>
</view>
</view>