🐛 用户头像在分享界面无法显示到问题

This commit is contained in:
jmal 2023-03-05 21:08:18 +08:00
parent 16a778e051
commit a2abfa2dbd
2 changed files with 7 additions and 3 deletions

View File

@ -862,10 +862,14 @@ export default {
}
if (this.vmode === 'list') {
this.grid = false
this.lessClientHeight = 140
if (!this.selectFile) {
this.lessClientHeight = 140
}
} else {
this.grid = true
this.lessClientHeight = 106
if (!this.selectFile) {
this.lessClientHeight = 106
}
this.containerResize()
}
// 加载url上的path

View File

@ -569,7 +569,7 @@
if(this.fileList.length > 0) {
api.getSharer({userId: this.fileList[0].userId}).then(res => {
this.sharer = res.data
this.sharerAvatarUrl = this.imageUrl + res.data.avatar
this.sharerAvatarUrl = window.location.origin + this.imageUrl + res.data.avatar
if (this.sharer.netdiskName) {
this.netdiskName = this.sharer.netdiskName
}