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 <a-avatar
class="avatar" class="avatar"
size="small" size="small"
:src="user.avatar" :src="user.avatar || 'https://gravatar.loli.net/avatar/?s=256&d=mm'"
/> />
</span> </span>
<a-menu <a-menu

Loading…
Cancel
Save