|
@@ -153,13 +153,11 @@ Page({
|
|
|
*/
|
|
|
onLoad() {
|
|
|
// wx.hideHomeButton({});
|
|
|
- if (!app.globalData.configPage) app.getPageInfo({
|
|
|
+ app.getPageInfo({
|
|
|
success: (res: any) => {
|
|
|
- app.globalData.configPage = res || {};
|
|
|
- this.inited(app.globalData.configPage);
|
|
|
+ this.inited( res || {});
|
|
|
}
|
|
|
})
|
|
|
- else this.inited(app.globalData.configPage);
|
|
|
},
|
|
|
|
|
|
/**
|