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