Commit c304ac09 by 李嘉林

扫码进入

parent 3e6e565d
......@@ -565,17 +565,18 @@ export default {
console.log('eloadEnterShopRule', this.h5Params)
// 进店规则--首次进店调用
if (this.h5Params && this.h5Params.offlineShopCode) {
// this.setPageLoading();
// return;
this.refreshInit();
wx.removeStorageSync("firstView");
return;
};
console.log('home-methods-reloadEnterShopRule')
if (wx.getStorageSync("firstView")) {
if (wx.getStorageSync("firstView") == 1) {
console.log('reloadEnterShopRule-------1')
wx.removeStorageSync("firstView");
this.enterStoreRule();
} else {
console.log('reloadEnterShopRule-------2')
// this.setPageLoading();
this.setPageLoading();
}
},
async enterStoreRule() {
......@@ -1128,6 +1129,8 @@ export default {
}
},
async refreshInit() {
console.log("refreshInit");
this.pageData = [];
log.info('onPullDownRefresh',this.$store.state.extConfig)
app.getShopInfo(this.$store.state.extConfig);
try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment