优化逻辑结构
This commit is contained in:
parent
d24b2ff3a3
commit
02aadd9daf
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user