diff --git a/components/tab-bar/myCenter.vue b/components/tab-bar/myCenter.vue index b873535..6bb1779 100644 --- a/components/tab-bar/myCenter.vue +++ b/components/tab-bar/myCenter.vue @@ -104,6 +104,7 @@ uni.setStorageSync('shopIcon',item.shopIcon) uni.setStorageSync('shopScore',item.shopScore) uni.setStorageSync('shopTakeaway',item.shopTakeaway) + uni.setStorageSync('attrId',item.attrId) uni.navigateTo({ url: '/package2/shop/merchantCenter' }) @@ -118,6 +119,7 @@ return }else if(this.schoolShop != ''){ uni.setStorageSync('shopId',this.schoolShop[0].id) + uni.setStorageSync('attrId',this.schoolShop[0].attrId) uni.setStorageSync('shopName',this.schoolShop[0].shopName) uni.setStorageSync('shopIcon',this.schoolShop[0].shopIcon) uni.setStorageSync('shopScore',this.schoolShop[0].shopScore)