fix: 头像和名字不统一问题

This commit is contained in:
hujinbin
2024-11-26 15:39:58 +08:00
parent 7aa8fdf234
commit e2f024763a
4 changed files with 13 additions and 18 deletions

View File

@@ -48,7 +48,7 @@ export const useElementStyle = (element: any, person: IPersonConfig, index: numb
if (person.department || person.identity) {
element.children[2].innerHTML = `${person.department ? person.department : ''}<br/>${person.identity ? person.identity : ''}`
}
element.children[3].src = person.avatar
return element
}