Avatar size prop support number px
This commit is contained in:
parent
a03c85df73
commit
04f5779c02
3 changed files with 21 additions and 7 deletions
|
@ -34,6 +34,10 @@
|
|||
<Avatar custom-icon="ivu-icon-ios-person" />
|
||||
|
||||
<Avatar :src="src" size="large" @on-error="handleError" />
|
||||
<Divider></Divider>
|
||||
<Avatar src="https://i.loli.net/2017/08/21/599a521472424.jpg" size="64" shape="square" />
|
||||
<Avatar src="https://i.loli.net/2017/08/21/599a521472424.jpg" size="64" shape="circle" />
|
||||
<Avatar icon="ios-person" size="64" shape="circle" />
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue