Commit f54d9ce0 authored by your yuchenglong's avatar your yuchenglong

update:解决修改报错问题

parent 60ab8d0a
...@@ -105,16 +105,6 @@ export default { ...@@ -105,16 +105,6 @@ export default {
} }
}, },
}, },
watch: {
editInfo: function (newVal) {
let marketingId = this.$route.query.marketing_id;
if (marketingId == undefined) {
return;
}
localStorage.setItem("propData", JSON.stringify(newVal));
},
},
created() { created() {
this.marketingInfoMet(); this.marketingInfoMet();
}, },
......
...@@ -118,6 +118,7 @@ export default { ...@@ -118,6 +118,7 @@ export default {
this.infoEditArr = res.result.marketing_info; this.infoEditArr = res.result.marketing_info;
this.addProducArr = res.result.goods_list; this.addProducArr = res.result.goods_list;
this.spellOrderSetArr = res.result.marketing_info; this.spellOrderSetArr = res.result.marketing_info;
localStorage.setItem("propData", JSON.stringify(this.infoEditArr));
}, },
// 取消 // 取消
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment