From 442d2ff4a3d3e1329daef1003ec78b16a8424c65 Mon Sep 17 00:00:00 2001 From: sws <1141121512@qq.com> Date: Thu, 12 Sep 2024 17:45:37 +0800 Subject: [PATCH] =?UTF-8?q?1.diy---=E8=B5=8B=E5=80=BC=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E4=B8=BAthis.setData?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/diy/user-info.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/diy/user-info.vue b/components/diy/user-info.vue index 27f8203d..606ea1f8 100644 --- a/components/diy/user-info.vue +++ b/components/diy/user-info.vue @@ -111,8 +111,9 @@ color_list: temp_base_data.number_code_color_list, direction: temp_base_data.number_code_direction, }; - const temp_stats_list = this.stats_list.map((item) => { - if (this.config.includes(item.id)) { + let temp_stats_list = this.stats_list; + temp_stats_list.map((item) => { + if (new_content.config.includes(item.id)) { item.value = new_content.data[item.id]; } });