优化逻辑结构

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