Fix:3532 【商城小程序】店铺主页—切换登录店铺返回,再次进入店铺主页时未固定到选择店铺
This commit is contained in:
@@ -34,6 +34,7 @@ export default {
|
||||
queryHome(e) {
|
||||
this.$nextTick(() => {
|
||||
this.$emit('enter', this.list[e])
|
||||
uni.setStorageSync('homeId', this.list[e].id)
|
||||
this.show = false
|
||||
})
|
||||
},
|
||||
|
||||
@@ -551,7 +551,7 @@ export default {
|
||||
break
|
||||
}
|
||||
if (id) {
|
||||
this.id = id || null
|
||||
this.id = uni.getStorageSync('homeId') || id
|
||||
this.partnerId = options.partnerId || null
|
||||
} else {
|
||||
let obj = uni.getEnterOptionsSync()
|
||||
|
||||
Reference in New Issue
Block a user