提交 6fbf6a3b 作者: ZhangLingKun

修复:店铺页面跳转

上级 eefd5ad5
......@@ -132,11 +132,18 @@ export default {
if (from !== 'map') {
// 当前选择的类型
const item = this.networkTypeList[this.currentTypeIndex]
const index = this.currentTypeIndex
// 如果存在路径
if (item?.path) {
weChatSDK.miniProgram.navigateTo({
url: `${item?.path}?id=${e?.backUserAccountId}`
})
if (index === 0) {
weChatSDK.miniProgram.navigateTo({
url: `${item?.path}?id=${e?.id}`
})
} else {
weChatSDK.miniProgram.navigateTo({
url: `${item?.path}?id=${e?.backUserAccountId}`
})
}
}
}
this.setCenterPoint(e)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论