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