update @跳转bug
This commit is contained in:
parent
170d197533
commit
0230f76c95
|
@ -279,18 +279,23 @@ export default {
|
|||
}
|
||||
let params = {
|
||||
path: detailPage[item.goods.type],
|
||||
query: { id: item.goods.id }
|
||||
query: { id: item.goods.id },
|
||||
}
|
||||
if (item.goods.group_id) { // 组合商品
|
||||
params.path = '/comProduct';
|
||||
delete params.query.id;
|
||||
params.query.group_id = item.goods.group_id;
|
||||
return this.jump(params, type);
|
||||
}
|
||||
if (item.goods.type === 3) { // 支付宝账号领取/云闪付
|
||||
if ((item.info.channel === 1 && item.info.receive_mode === 2) || (item.info.channel === 3)) {
|
||||
params.path = '/cmsLJJConfig';
|
||||
return this.jump(params, type);
|
||||
}
|
||||
}
|
||||
this.jump(params, type);
|
||||
},
|
||||
jump(params: any, type?: string) {
|
||||
if (type === 'auto') {
|
||||
this.$router.replace(params);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue