修改产品页载入逻辑
This commit is contained in:
parent
9dccf86b33
commit
e82a4c8fec
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"description": "游戏电商小程序",
|
"description": "游戏电商小程序",
|
||||||
"setting": {
|
"setting": {
|
||||||
"urlCheck": true,
|
"urlCheck": false,
|
||||||
"es6": false,
|
"es6": false,
|
||||||
"postcss": false,
|
"postcss": false,
|
||||||
"minified": false,
|
"minified": false,
|
||||||
|
@ -80,14 +80,14 @@
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
onLoad(params) {
|
async onLoad(params) {
|
||||||
jcEvent.on(jcEvent.events.NEED_UPDATE_CFG, this, data => {
|
jcEvent.on(jcEvent.events.NEED_UPDATE_CFG, this, data => {
|
||||||
this.loadCfg();
|
this.loadCfg();
|
||||||
this.$apply();
|
this.$apply();
|
||||||
})
|
})
|
||||||
this.loadCfg();
|
this.loadCfg();
|
||||||
this.gid = decodeURIComponent(params.gid);
|
this.gid = decodeURIComponent(params.gid);
|
||||||
this.getUserInfo();
|
await this.getUserInfo();
|
||||||
}
|
}
|
||||||
onShow(){
|
onShow(){
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user