Merge pull request '修改返回店铺首页数据不出现的问题' (#337) from zhy into master

Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/337
This commit is contained in:
hansu 2020-09-05 15:19:39 +08:00
commit 480de8da61
2 changed files with 13 additions and 10 deletions

View File

@ -118,6 +118,17 @@ export default {
id:this.sid 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: { methods: {
customers(){ customers(){
console.log(this.$store.state.hasLogin) console.log(this.$store.state.hasLogin)
@ -225,14 +236,6 @@ export default {
// console.log(this.paddingTop); // console.log(this.paddingTop);
} }
}, },
onLoad(option){
this.sid = option.id;
// console.log(this.sid);
this.getStoreInfo();
this.getArticlelist();
this.setViewHeight();
// this.getStoreImgVideoList();
}
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>