fix(ui): Avatar 不顯示文字

This commit is contained in:
CrescentLeaf
2025-09-21 02:13:28 +08:00
parent 791baf474c
commit cb4aeaed21

View File

@@ -17,7 +17,7 @@ export default function Avatar({
else if (text != null)
return <mdui-avatar ref={avatarRef} {...props}>
{
text.substring(0, 0)
text.substring(0, 1)
}
</mdui-avatar>
else