diff --git a/pageC/merchant/index.vue b/pageC/merchant/index.vue index fb9e050..f7070a9 100644 --- a/pageC/merchant/index.vue +++ b/pageC/merchant/index.vue @@ -118,6 +118,17 @@ export default { id:this.sid }); }, + onLoad(option){ + this.sid = option.id; + // console.log(this.sid); + this.getStoreInfo(); + this.getArticlelist(); + this.setViewHeight(); + // this.getStoreImgVideoList(); + }, + onShow() { + this.cur = 0; + }, methods: { customers(){ console.log(this.$store.state.hasLogin) @@ -225,14 +236,6 @@ export default { // console.log(this.paddingTop); } }, - onLoad(option){ - this.sid = option.id; - // console.log(this.sid); - this.getStoreInfo(); - this.getArticlelist(); - this.setViewHeight(); - // this.getStoreImgVideoList(); - } };