Commit e6ea11e5 by 李嘉林

优化底部logo展示

parent 39b670e9
......@@ -45,10 +45,15 @@ export default {
},
watch:{
globalDataShopInfo:{
handler(){
handler(newVal,oldVal){
if(newVal){
console.log(newVal,oldVal,'------------------globalDataShopInfo')
this.shopInfo = this.mpApp.globalData.shopInfo
if(this.shopInfo && this.shopInfo.logoUrl) {
this.shopInfo.logoUrl = DFSImg(this.shopInfo.logoUrl, 400, 400)
}
console.log(this.shopInfo,'this.shopInfo')
}
},
immediate: true,
}
......@@ -62,8 +67,7 @@ export default {
this.showHideWrap = true
}
},
onLoad() {
},
onLoad() {},
onShow(){
},
methods:{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment