Commit 66ba4c0b authored by Mac's avatar Mac

提交

parent 3f9e5d97
...@@ -2147,15 +2147,21 @@ ...@@ -2147,15 +2147,21 @@
this.addMsg.PresentFXGrade = '' this.addMsg.PresentFXGrade = ''
} }
if (!this.addMsg.MarketingLogo||this.addMsg.MarketingLogo == null ) { if (this.addMsg.MarketingLogo) {
this.addMsg.MarketingLogo = { try {
iswords: 0, let MarketingLogo = JSON.parse(this.addMsg.MarketingLogo)
words: "", let obj = MarketingLogo
wordsColor: "", this.addMsg.MarketingLogo = obj
wordsBack: "", } catch (err) {
ico: "" this.addMsg.MarketingLogo = {
iswords: 0,
words: "",
wordsColor: "",
wordsBack: "",
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