🐛 用户头像在分享界面无法显示到问题
This commit is contained in:
parent
16a778e051
commit
a2abfa2dbd
@ -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
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user