mirror of
https://github.com/ialley-workshop-open/uni-halo.git
synced 2026-06-10 20:29:28 +08:00
fix: 修复关于页面图片配置路径问题
This commit is contained in:
@@ -142,7 +142,7 @@ export default {
|
||||
const _imgUrlOr = this.calcDefaultImageConfig.aboutProfileImageUrl;
|
||||
if (this.$utils.checkIsUrl(_imgUrlOr)) {
|
||||
return {
|
||||
backgroundImage: `url(${_imgUrlOr})`
|
||||
backgroundImage: `url(${this.$utils.checkImageUrl(_imgUrlOr)})`
|
||||
};
|
||||
} else {
|
||||
return {
|
||||
@@ -151,7 +151,7 @@ export default {
|
||||
}
|
||||
},
|
||||
calcWaveUrl() {
|
||||
return this.calcDefaultImageConfig.waveImageUrl;
|
||||
return this.$utils.checkImageUrl(this.calcDefaultImageConfig.waveImageUrl);
|
||||
},
|
||||
copyrightConfig() {
|
||||
return this.haloConfigs.basicConfig.copyrightConfig;
|
||||
|
||||
Reference in New Issue
Block a user