修改返回店铺首页数据不出现的问题
This commit is contained in:
		
							parent
							
								
									e19ae7ed82
								
							
						
					
					
						commit
						027b07baeb
					
				| @ -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> | ||||||
|  | |||||||
| @ -78,8 +78,8 @@ export default { | |||||||
| 	}, | 	}, | ||||||
| 	// 下拉刷新 | 	// 下拉刷新 | ||||||
| 	onPullDownRefresh() { | 	onPullDownRefresh() { | ||||||
|         this.refreshOrderList(); | 		this.refreshOrderList(); | ||||||
|     }, | 	}, | ||||||
| 	methods: { | 	methods: { | ||||||
| 		setOrderType() { | 		setOrderType() { | ||||||
| 			let type; | 			let type; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user