From 1689088c6aaedbbff9ad68f2904fcb634ffb3faf Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Tue, 8 Aug 2023 20:12:52 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E6=9B=B4=E6=96=B0"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 5e0689edea4e2b468e559bd371b17665a2171b9e. --- subpkg/archivesDetail/archivesDetail.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/subpkg/archivesDetail/archivesDetail.vue b/subpkg/archivesDetail/archivesDetail.vue index 659ce6d..fabb0f1 100644 --- a/subpkg/archivesDetail/archivesDetail.vue +++ b/subpkg/archivesDetail/archivesDetail.vue @@ -127,6 +127,7 @@ }, data() { return { + listMap: new Map(), tabLists: [{ name: '基本信息', }, { @@ -156,6 +157,7 @@ }, onLoad(options) { this.initInformationDetails({ id: options.id }); + this.initMap(); }, onShow() {}, computed: { @@ -166,6 +168,11 @@ } }, methods: { + initMap() { + comonentList.forEach(item => { + this.listMap.set(item.id, item.name); + }) + }, async initInformationDetails(id) { let res = await informationDetails(id); this.$u.sleep(500).then(()=>{