From a272691bfb1d184e07b91debd9d38f40d2920917 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期三, 12 六月 2024 10:49:23 +0800
Subject: [PATCH] ''

---
 h5/pages/staff/task/index.vue |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/h5/pages/staff/task/index.vue b/h5/pages/staff/task/index.vue
index f9d7c2f..12ce321 100644
--- a/h5/pages/staff/task/index.vue
+++ b/h5/pages/staff/task/index.vue
@@ -118,6 +118,7 @@
           </view>
         </view>
       </view>
+      <image v-if="dataList.length === 0" src="@/static/empty.png" style="width: 320rpx;margin: 120rpx auto;" mode="widthFix" />
     </view>
     <!-- 绛涢�� -->
     <u-popup
@@ -279,7 +280,9 @@
       }).then(res => {
         this.dataList = [...this.dataList, ...res.data.records]
         this.dataList.forEach(i => {
-          i.param1 = JSON.parse(i.param1)
+          if(i.param1){
+            i.param1 = JSON.parse(i.param1)
+          }
         })
         console.log('dataList', this.dataList)
       })

--
Gitblit v1.9.3