修改热区无法跳转专题问题
parent
73c2654cc5
commit
48f2bd82a1
|
@ -159,6 +159,8 @@ export default {
|
||||||
return `促销活动商品:${zone.goodsName}`;
|
return `促销活动商品:${zone.goodsName}`;
|
||||||
case "other":
|
case "other":
|
||||||
return `${zone.title}`;
|
return `${zone.title}`;
|
||||||
|
case "special":
|
||||||
|
return `专题:${zone.title}`;
|
||||||
default:
|
default:
|
||||||
return "请选择跳转链接";
|
return "请选择跳转链接";
|
||||||
}
|
}
|
||||||
|
|
|
@ -185,6 +185,12 @@ export default {
|
||||||
settingZone(val) {
|
settingZone(val) {
|
||||||
this.zoneForm.type = val.___type || val.type;
|
this.zoneForm.type = val.___type || val.type;
|
||||||
this.zoneForm.title = val.title;
|
this.zoneForm.title = val.title;
|
||||||
|
if(val.pageType == "special"){
|
||||||
|
this.zoneForm.id = val.id;
|
||||||
|
this.zoneForm.pageType = val.pageType
|
||||||
|
this.zoneForm.type = val.pageType
|
||||||
|
this.zoneForm.title = val.name
|
||||||
|
}
|
||||||
switch (val.___type) {
|
switch (val.___type) {
|
||||||
case "goods":
|
case "goods":
|
||||||
this.zoneForm.id = val.id;
|
this.zoneForm.id = val.id;
|
||||||
|
|
Loading…
Reference in New Issue