From 1823955f5c50052e87909852d0fd342b160f2e06 Mon Sep 17 00:00:00 2001 From: "3321822538@qq.com" <3321822538@qq.com> Date: Thu, 6 Jun 2024 21:47:48 +0800 Subject: [PATCH] aaa --- pages/fengxiang/index.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/fengxiang/index.vue b/pages/fengxiang/index.vue index 776e3ae..50840f9 100644 --- a/pages/fengxiang/index.vue +++ b/pages/fengxiang/index.vue @@ -591,7 +591,6 @@ } else { that.listData.push(newData); } - // uni.hideLoading() }) setTimeout(() => { setTimeout(() => { @@ -601,14 +600,15 @@ .id); if (existingItem) { // 如果找到,替换原数据 - const index = that.listData.indexOf(existingItem); - that.listData.splice(index, 1, newData); + const index = that.listData.indexOf(existingItem) + that.listData.splice(index, 1, newData) + uni.hideLoading() } else { that.listData.push(newData); } }) }, 500) - uni.hideLoading() + // uni.hideLoading() }, 6000) }) @@ -1118,7 +1118,7 @@ width: 100%; overflow-y: auto; overflow-x: hidden; - height: 100vh; + // height: 100vh; } .font_2 {