调整事件的加载顺序
This commit is contained in:
parent
c5d177ad72
commit
20aa13cd82
|
@ -55,7 +55,7 @@ export const JeecgListMixin = {
|
||||||
created() {
|
created() {
|
||||||
if (!this.disableMixinCreated) {
|
if (!this.disableMixinCreated) {
|
||||||
console.log(' -- mixin created -- ')
|
console.log(' -- mixin created -- ')
|
||||||
this.loadData();
|
// this.loadData();
|
||||||
//初始化字典配置 在自己页面定义
|
//初始化字典配置 在自己页面定义
|
||||||
this.initDictConfig();
|
this.initDictConfig();
|
||||||
}
|
}
|
||||||
|
|
|
@ -82,6 +82,7 @@ export default {
|
||||||
handler(val) {
|
handler(val) {
|
||||||
let arr = sessionStorage.getItem('selectedSta') ? sessionStorage.getItem('selectedSta').split(',') : []
|
let arr = sessionStorage.getItem('selectedSta') ? sessionStorage.getItem('selectedSta').split(',') : []
|
||||||
this.queryParam.stationIds = arr.map((item) => Number(item))
|
this.queryParam.stationIds = arr.map((item) => Number(item))
|
||||||
|
this.loadData()
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user