mirror of https://github.com/halo-dev/halo-admin
Show default avatar when user avatar is null.
parent
ea5b00045a
commit
584528a801
|
@ -25,7 +25,7 @@
|
|||
<a-avatar
|
||||
class="avatar"
|
||||
size="small"
|
||||
:src="user.avatar"
|
||||
:src="user.avatar || 'https://gravatar.loli.net/avatar/?s=256&d=mm'"
|
||||
/>
|
||||
</span>
|
||||
<a-menu
|
||||
|
|
Loading…
Reference in New Issue