优化逻辑结构

This commit is contained in:
weipengfei 2023-09-19 14:16:57 +08:00
parent d24b2ff3a3
commit 02aadd9daf

View File

@ -55,7 +55,6 @@
}, },
onLoad() { onLoad() {
this.initType(); this.initType();
this.initList();
}, },
onShow() { onShow() {
}, },
@ -77,6 +76,9 @@
name: item.title name: item.title
}) })
}) })
this.$nextTick(()=>{
this.initList();
})
}, },
async initList(){ async initList(){
this.loadConfig.page = 1; this.loadConfig.page = 1;