fix: 角色图存放位置

This commit is contained in:
bietiaop 2024-07-24 21:47:48 +08:00
parent 1c7ced1a8c
commit ea8f6b2086
3 changed files with 14 additions and 1 deletions

View file

@ -297,7 +297,7 @@ export class ZZZAvatarInfo {
async get_detail_assets() {
const custom_panel_images = path.join(
imageResourcesPath,
`panel/${this.id}`
`panel/${this.name_mi18n}`
);
let role_icon = '';
if (fs.existsSync(custom_panel_images)) {