Browse Source

列表为空展示

master
wwp 2 months ago
parent
commit
a7df35ce1b
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      monitorMobile/pages/earlyWarning/index.vue
  2. +1
    -1
      monitorMobile/pages/monitor/index.vue

+ 1
- 1
monitorMobile/pages/earlyWarning/index.vue View File

@@ -88,7 +88,7 @@


</view> </view>
<view class="tableBox"> <view class="tableBox">
<u-empty marginTop="100rpx" :show="false" mode="list" text="暂无数据"></u-empty>
<u-empty marginTop="100rpx" :show="warnList.length == 0" mode="list" text="暂无数据"></u-empty>
<!-- <u-pull-refresh :refreshing="refreshing" @refresh="onRefresh"> --> <!-- <u-pull-refresh :refreshing="refreshing" @refresh="onRefresh"> -->
<!-- <scroll-view class="scroll-view" scroll-y="true" refresher-enabled="true" <!-- <scroll-view class="scroll-view" scroll-y="true" refresher-enabled="true"
@refresher-pull="onRefresh" @refresher-refresh="doRefresh" @refresher-restore="restore" @refresher-pull="onRefresh" @refresher-refresh="doRefresh" @refresher-restore="restore"


+ 1
- 1
monitorMobile/pages/monitor/index.vue View File

@@ -78,7 +78,7 @@
</view> </view>
</view> </view>
<view class="tableBox"> <view class="tableBox">
<u-empty marginTop="100rpx" :show="false" mode="list" text="暂无数据"></u-empty>
<u-empty marginTop="100rpx" :show="monitorList.length == 0" mode="list" text="暂无数据"></u-empty>
<u-list @scrolltolower="scrolltolower" style="height: calc(100% - 0rpx);"> <u-list @scrolltolower="scrolltolower" style="height: calc(100% - 0rpx);">
<u-list-item v-for="(item, index) in monitorList" :key="index"> <u-list-item v-for="(item, index) in monitorList" :key="index">
<view class="liBox"> <view class="liBox">


Loading…
Cancel
Save