Revert "更新"

This reverts commit 5e0689edea4e2b468e559bd371b17665a2171b9e.
This commit is contained in:
weipengfei 2023-08-08 20:12:52 +08:00
parent 5e0689edea
commit 1689088c6a

View File

@ -127,6 +127,7 @@
}, },
data() { data() {
return { return {
listMap: new Map(),
tabLists: [{ tabLists: [{
name: '基本信息', name: '基本信息',
}, { }, {
@ -156,6 +157,7 @@
}, },
onLoad(options) { onLoad(options) {
this.initInformationDetails({ id: options.id }); this.initInformationDetails({ id: options.id });
this.initMap();
}, },
onShow() {}, onShow() {},
computed: { computed: {
@ -166,6 +168,11 @@
} }
}, },
methods: { methods: {
initMap() {
comonentList.forEach(item => {
this.listMap.set(item.id, item.name);
})
},
async initInformationDetails(id) { async initInformationDetails(id) {
let res = await informationDetails(id); let res = await informationDetails(id);
this.$u.sleep(500).then(()=>{ this.$u.sleep(500).then(()=>{