修改返回店铺首页数据不出现的问题

This commit is contained in:
ghusermoon 2020-09-05 15:18:48 +08:00
parent e19ae7ed82
commit 027b07baeb
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>

View File

@ -78,8 +78,8 @@ export default {
}, },
// //
onPullDownRefresh() { onPullDownRefresh() {
this.refreshOrderList(); this.refreshOrderList();
}, },
methods: { methods: {
setOrderType() { setOrderType() {
let type; let type;