Show default avatar when user avatar is null.

pull/9/head
ruibaby 6 years ago
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…
Cancel
Save