Refactor(专题页):目标跳转链接为空则不进入对应模块
This commit is contained in:
@@ -64,7 +64,8 @@ export const themeMixins = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
goGoodsOrShop(item) {
|
goGoodsOrShop(item) {
|
||||||
const id = item.linkId
|
const id = item.linkId || ''
|
||||||
|
if (!id) return
|
||||||
const type = item.type || 1
|
const type = item.type || 1
|
||||||
if (type === 1) {
|
if (type === 1) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
|
|||||||
Reference in New Issue
Block a user