mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-16 04:35:42 +00:00
为不存在的用户增加默认头像
This commit is contained in:
parent
d4df5f3804
commit
6da0ba1776
@ -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`
|
||||
}
|
||||
}
|
||||
|
||||
|
BIN
resources/common/item/face.webp
Normal file
BIN
resources/common/item/face.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
BIN
resources/meta-sr/character/common/imgs/banner.webp
Normal file
BIN
resources/meta-sr/character/common/imgs/banner.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 39 KiB |
BIN
resources/meta/character/common/imgs/banner.webp
Normal file
BIN
resources/meta/character/common/imgs/banner.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 60 KiB |
Loading…
Reference in New Issue
Block a user