Show default avatar when user avatar is null.

pull/9/head
ruibaby 2019-05-13 19:56:33 +08:00
parent ea5b00045a
commit 584528a801
1 changed files with 1 additions and 1 deletions

View File

@ -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