|
@@ -898,15 +898,16 @@
|
|
//this.shopInfo = res.data.shopInfo
|
|
//this.shopInfo = res.data.shopInfo
|
|
var shopinfo=res.data.shopInfo;
|
|
var shopinfo=res.data.shopInfo;
|
|
this.info.shopList.forEach(item=>{
|
|
this.info.shopList.forEach(item=>{
|
|
- //console.log(item.id)
|
|
|
|
- //console.log(shopinfo.id)
|
|
|
|
|
|
+
|
|
if(item.id==shopinfo.id){
|
|
if(item.id==shopinfo.id){
|
|
-
|
|
|
|
|
|
+
|
|
this.shopInfo=shopinfo
|
|
this.shopInfo=shopinfo
|
|
|
|
+ this.shopName=this.shopInfo.shopName
|
|
}
|
|
}
|
|
})
|
|
})
|
|
if(this.shopInfo==''){
|
|
if(this.shopInfo==''){
|
|
this.shopInfo=this.info.shopList[0]
|
|
this.shopInfo=this.info.shopList[0]
|
|
|
|
+ this.shopName=this.shopInfo.shopName
|
|
}
|
|
}
|
|
this.beginTimer();
|
|
this.beginTimer();
|
|
})
|
|
})
|