Commit 74fbf31d authored by youjie's avatar youjie

no message

parent 6b8e0267
...@@ -481,16 +481,16 @@ ...@@ -481,16 +481,16 @@
(res) => { (res) => {
if (res.resultCode == 1) { if (res.resultCode == 1) {
try { try {
if(res.data.VisaProductInfo.FeeInclude.indexOf('<img')!=-1){ if(res.data.VisaProductInfo.FeeInclude&res.data.VisaProductInfo.FeeInclude.indexOf('<img')!=-1){
res.data.VisaProductInfo.FeeInclude = this.imgTagAddStyle(res.data.VisaProductInfo.FeeInclude) res.data.VisaProductInfo.FeeInclude = this.imgTagAddStyle(res.data.VisaProductInfo.FeeInclude)
} }
if(res.data.VisaProductInfo.FeeNonInclude.indexOf('<img')!=-1){ if(res.data.VisaProductInfo.FeeNonInclude&&res.data.VisaProductInfo.FeeNonInclude.indexOf('<img')!=-1){
res.data.VisaProductInfo.FeeNonInclude = this.imgTagAddStyle(res.data.VisaProductInfo.FeeNonInclude) res.data.VisaProductInfo.FeeNonInclude = this.imgTagAddStyle(res.data.VisaProductInfo.FeeNonInclude)
} }
if(res.data.VisaProductInfo.VisaMaterials.indexOf('<img')!=-1){ if(res.data.VisaProductInfo.VisaMaterials&&res.data.VisaProductInfo.VisaMaterials.indexOf('<img')!=-1){
res.data.VisaProductInfo.VisaMaterials = this.imgTagAddStyle(res.data.VisaProductInfo.VisaMaterials) res.data.VisaProductInfo.VisaMaterials = this.imgTagAddStyle(res.data.VisaProductInfo.VisaMaterials)
} }
if(res.data.VisaProductInfo.WarmTip.indexOf('<img')!=-1){ if(res.data.VisaProductInfo.WarmTip&&res.data.VisaProductInfo.WarmTip.indexOf('<img')!=-1){
res.data.VisaProductInfo.WarmTip = this.imgTagAddStyle(res.data.VisaProductInfo.WarmTip) res.data.VisaProductInfo.WarmTip = this.imgTagAddStyle(res.data.VisaProductInfo.WarmTip)
} }
this.dataList = res.data this.dataList = res.data
......
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