|
@@ -8,6 +8,9 @@ export default {
|
|
|
methods: {
|
|
|
jumpAction(data) {
|
|
|
const { jumpType, jumpLink, jumpProductId, jumpImage } = data
|
|
|
+ if (jumpType === 1 && !jumpLink) return
|
|
|
+ if (jumpType === 2 && !jumpProductId) return
|
|
|
+ if (jumpType === 3 && !jumpImage) return
|
|
|
// jumpType 跳转类型:1链接,2商品,3图片
|
|
|
const jumpMap = {
|
|
|
1: `others/web-view?websit=${encodeURIComponent(jumpLink)}`,
|