|
@@ -296,11 +296,12 @@ export default {
|
|
|
let Obj = JSON.parse(adv1.url);
|
|
|
adv1.url = `/newsList/module/${Obj.id}?title=${Obj.title}`;
|
|
|
}
|
|
|
+ this.$set(this, `adv`, { ...this.adv, adv1 });
|
|
|
if (adv2 && adv2.type == '0') {
|
|
|
let Obj = JSON.parse(adv2.url);
|
|
|
adv2.url = `/newsList/module/${Obj.id}?title=${Obj.title}`;
|
|
|
}
|
|
|
- this.$set(this, `adv`, { adv1, adv2 });
|
|
|
+ this.$set(this, `adv`, { ...this.adv, adv2 });
|
|
|
}
|
|
|
},
|
|
|
},
|