Skip to content
On this page

Avatar 头像

Avatar 组件用来展示人员头像。

基本用法

头像形状

头像状态

属性

属性名类型默认值说明
avatarWidthnumber100头像宽度
avatarHeightnumber100头像高度
coverstring100组件标识
readonlybooleanfalse只读
shape'square' 、 'circle'circle'头像形状
maxSizenumber1头像最大尺寸, 单位MB
modelValuestring''组件值
titlestring''组件值
imageTypestring['jpeg']组件值

插槽

TIP

暂无内容