Commit 66ba4c0b authored by Mac's avatar Mac

提交

parent 3f9e5d97
...@@ -2147,7 +2147,12 @@ ...@@ -2147,7 +2147,12 @@
this.addMsg.PresentFXGrade = '' this.addMsg.PresentFXGrade = ''
} }
if (!this.addMsg.MarketingLogo||this.addMsg.MarketingLogo == null ) { if (this.addMsg.MarketingLogo) {
try {
let MarketingLogo = JSON.parse(this.addMsg.MarketingLogo)
let obj = MarketingLogo
this.addMsg.MarketingLogo = obj
} catch (err) {
this.addMsg.MarketingLogo = { this.addMsg.MarketingLogo = {
iswords: 0, iswords: 0,
words: "", words: "",
...@@ -2155,7 +2160,8 @@ ...@@ -2155,7 +2160,8 @@
wordsBack: "", wordsBack: "",
ico: "" ico: ""
} }
} else if(this.addMsg.MarketingLogo.indexOf('iswords')==-1){ }
} else {
this.addMsg.MarketingLogo = { this.addMsg.MarketingLogo = {
iswords: 0, iswords: 0,
words: "", words: "",
...@@ -2163,10 +2169,6 @@ ...@@ -2163,10 +2169,6 @@
wordsBack: "", wordsBack: "",
ico: "" ico: ""
} }
}else {
let MarketingLogo = JSON.parse(this.addMsg.MarketingLogo)
let obj=MarketingLogo
this.addMsg.MarketingLogo = obj
} }
this.getSuggestPrice(); this.getSuggestPrice();
this.getFXDGradeList2(); this.getFXDGradeList2();
......
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