Commit c304ac09 by 李嘉林

扫码进入

parent 3e6e565d
...@@ -565,17 +565,18 @@ export default { ...@@ -565,17 +565,18 @@ export default {
console.log('eloadEnterShopRule', this.h5Params) console.log('eloadEnterShopRule', this.h5Params)
// 进店规则--首次进店调用 // 进店规则--首次进店调用
if (this.h5Params && this.h5Params.offlineShopCode) { if (this.h5Params && this.h5Params.offlineShopCode) {
// this.setPageLoading(); this.refreshInit();
// return; wx.removeStorageSync("firstView");
return;
}; };
console.log('home-methods-reloadEnterShopRule') console.log('home-methods-reloadEnterShopRule')
if (wx.getStorageSync("firstView")) { if (wx.getStorageSync("firstView") == 1) {
console.log('reloadEnterShopRule-------1') console.log('reloadEnterShopRule-------1')
wx.removeStorageSync("firstView"); wx.removeStorageSync("firstView");
this.enterStoreRule(); this.enterStoreRule();
} else { } else {
console.log('reloadEnterShopRule-------2') console.log('reloadEnterShopRule-------2')
// this.setPageLoading(); this.setPageLoading();
} }
}, },
async enterStoreRule() { async enterStoreRule() {
...@@ -1128,6 +1129,8 @@ export default { ...@@ -1128,6 +1129,8 @@ export default {
} }
}, },
async refreshInit() { async refreshInit() {
console.log("refreshInit");
this.pageData = [];
log.info('onPullDownRefresh',this.$store.state.extConfig) log.info('onPullDownRefresh',this.$store.state.extConfig)
app.getShopInfo(this.$store.state.extConfig); app.getShopInfo(this.$store.state.extConfig);
try { 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