为不存在的用户增加默认头像

This commit is contained in:
Kokomi 2023-06-30 04:50:17 +08:00
parent d4df5f3804
commit 6da0ba1776
4 changed files with 2 additions and 2 deletions

View File

@ -65,8 +65,8 @@ export default class Player extends Base {
}
let imgs = char?.imgs || {}
return {
face: imgs.face || '',
banner: imgs.banner || ''
face: imgs.face || '/common/item/face.webp',
banner: imgs.banner || `/meta${this.isSr ? '-sr' : ''}/character/common/imgs/banner.webp`
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB