Commit 450ecae9 authored by your yuchenglong's avatar your yuchenglong

update:发布拼单报错问题

parent 12ba2c1a
......@@ -91,8 +91,11 @@ export default {
// 获取营销活动详情
marketingInfoMet() {
console.log();
this.propData = JSON.parse(localStorage.getItem('propData'));
let marketingId = this.$route.query.marketing_id;
if (marketingId == undefined) {
return;
}
this.propData = JSON.parse(localStorage.getItem("propData"));
this.infoEditForm.title = this.propData.marketing_name;
this.infoEditForm.desc = this.propData.pindan_desc;
for (var i in this.propData.pindan_pic_url) {
......@@ -109,7 +112,7 @@ export default {
if (marketingId == undefined) {
return;
}
localStorage.setItem('propData',JSON.stringify(newVal));
localStorage.setItem("propData", JSON.stringify(newVal));
},
},
......
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