清理多余的cdn

This commit is contained in:
aixianling
2021-11-17 17:53:55 +08:00
parent d7029c24fb
commit 455ae34b2a
9 changed files with 63 additions and 64 deletions

View File

@@ -44,9 +44,7 @@ export default {
return this.flag ? '确定' : '查看详情'
},
imgSrc() {
return this.flag
? this.imgOtherUrl + 'kztcg.png'
: this.imgOtherUrl + 'kztsb.png'
return this.$cdn+'other/'+(this.flag?'kztcg.png':'kztsb.png')
}
}
}

View File

@@ -41,9 +41,8 @@ export default {
return this.flag ? '查看详情' : '我知道了'
},
imgSrc() {
return this.flag
? this.imgOtherUrl + 'kztcg.png'
: this.imgOtherUrl + 'kztsb.png'
let {$cdn, flag} = this
return `${$cdn}other/${flag ? 'kztcg' : 'kztsb'}.png`
}
}
}