uniapp/pages/goods/goodsDetail.vue
@@ -305,6 +305,12 @@ if (this.memberId) { this.updataUser() } if(!getApp().globalData.hasinit) { console.log("初始化") getApp().getAppInfo(); } }, onLoad(options) { this.appinfo = utils.getCacheSync('appInfo') @@ -342,7 +348,9 @@ this.memberId = '' } this.getPageInfo() if (this.pageType == 'tb' || this.pageType == 'tm') { // if (this.pageType == 'tb' || this.pageType == 'tm') if (this.pageType.includes('tb')||this.pageType.includes('tm')) { this.pageInfo.showImgs = [] var a = {} a.url = this.optionsInfo.mainPic