From b3019b2cfaaefd510521e0c2312d9d03bfae33db Mon Sep 17 00:00:00 2001 From: wpf <2187978347@qq.com> Date: Sun, 6 Aug 2023 18:28:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- subpkg/archivesDetail/archivesDetail.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/subpkg/archivesDetail/archivesDetail.vue b/subpkg/archivesDetail/archivesDetail.vue index dd3e01e..6f49cee 100644 --- a/subpkg/archivesDetail/archivesDetail.vue +++ b/subpkg/archivesDetail/archivesDetail.vue @@ -98,6 +98,7 @@ + @@ -165,6 +166,7 @@ category_id: 1, category_child: 1, data_type: '1', + datas: [] }, } @@ -178,7 +180,9 @@ let res = await informationDetails(id); uni.$u.sleep(500).then(() => { this.skeleton = false; - this.formData = res.data; + Object.keys(res.data).forEach(key=>{ + this.formData[key]=res.data[key]; + }) }) }, toastShow() {