From 9a0c17409a5ce3dad0edfd8730da79e4afadd520 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Thu, 7 Aug 2025 15:36:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=85=B6=E4=BB=96=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E4=B8=89=E5=89=AF=E6=98=BE=E7=A4=BA=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/diy/components/diy/diy.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/diy/components/diy/diy.vue b/pages/diy/components/diy/diy.vue index dd1ed160..786a1ebd 100644 --- a/pages/diy/components/diy/diy.vue +++ b/pages/diy/components/diy/diy.vue @@ -571,7 +571,7 @@ if (new_data.length > 0) { // 先使用缓存数据展示 this.setData({ - diy_data: new_data, + diy_data: this.set_diy_data_floating_up(new_data), }); // 已有本地缓存则直接取远程有效数据(默认首次取的是远程缓存数据) new_params['is_cache'] = 0; @@ -595,7 +595,7 @@ new_data = data?.config.diy_data || []; uni.setStorageSync(this.cache_key + tabs_id, new_data); this.setData({ - diy_data: new_data, + diy_data: this.set_diy_data_floating_up(new_data), }); // 是否需要重新加载数据 if (parseInt(data.is_result_data_cache || 0) == 1) { @@ -625,7 +625,7 @@ } // 先使用缓存数据展示 this.setData({ - diy_data: new_data, + diy_data: this.set_diy_data_floating_up(new_data), }); } },