diff --git a/components/tab-bar/myCenter.vue b/components/tab-bar/myCenter.vue index 2c03d35..f151cdf 100644 --- a/components/tab-bar/myCenter.vue +++ b/components/tab-bar/myCenter.vue @@ -103,7 +103,7 @@ init(){ this.shopName = uni.getStorageSync('shopName'); this.shopIcon = uni.getStorageSync('shopIcon'); - this.region = JSON.parse(uni.getStorageSync('shop')).region; + this.region = uni.getStorageSync('shop').region; // 获取所有 key const { keys } = uni.getStorageInfoSync(); const data = {};