修改产品页载入逻辑

This commit is contained in:
zhl 2019-08-16 10:43:36 +08:00
parent 9dccf86b33
commit e82a4c8fec
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
{
"description": "游戏电商小程序",
"setting": {
"urlCheck": true,
"urlCheck": false,
"es6": false,
"postcss": false,
"minified": false,

View File

@ -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(){