Fix:3608 【商城小程序】当前用户有店铺时,从寻趣味选择任意店铺进入店铺详情,显示的是自己的店铺详情
This commit is contained in:
@@ -518,6 +518,8 @@ export default {
|
||||
onLoad(options) {
|
||||
const id = options.id || ''
|
||||
const from = options.from
|
||||
console.log(from);
|
||||
|
||||
switch (from) {
|
||||
// 特产
|
||||
case 'techan':
|
||||
@@ -552,7 +554,7 @@ export default {
|
||||
break
|
||||
}
|
||||
if (id) {
|
||||
this.id = uni.getStorageSync('homeId') || id
|
||||
this.id = from ? id : uni.getStorageSync('homeId') || id
|
||||
this.partnerId = options.partnerId || null
|
||||
} else {
|
||||
let obj = uni.getEnterOptionsSync()
|
||||
|
||||
Reference in New Issue
Block a user