ui: 优化资源加载

This commit is contained in:
undefined committed 2021-09-01 20:27:30 +08:00
1 parent fffacdc63c
commit c8a0d48a41
7 files changed
+111 -143

No files matched your search

@@ -2,7 +2,7 @@
{% if udoc %}
<span class="user-profile-link">
{% if avatar %}
<img class="small user-profile-avatar v-center" src="{{ avatarUrl(udoc.avatar|default('')) }}" width="20" height="20">
<img class="small user-profile-avatar v-center" loading="lazy" src="{{ avatarUrl(udoc.avatar|default('')) }}" width="20" height="20">
{% endif %}
<a class="user-profile-name" href="{{ url('user_detail', uid=udoc._id) }}">
{% if udoc.displayName and udoc.displayName != udoc.uname %}