Commit 66ba4c0b authored by Mac's avatar Mac

提交

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