fix: repair friend circle dashboard template

This commit is contained in:
liuwei
2026-04-07 12:55:34 +08:00
parent e8ed0d4799
commit 684a22b3a6

View File

@@ -74,7 +74,7 @@
<el-card v-for="post in posts" :key="post.id" class="post-card" shadow="hover">
<div class="post-header">
<div class="post-author">
<el-avatar :src="post.author_avatar" :size="42">{{ (post.author_name || '?').slice(0, 1) }}</el-avatar>
<el-avatar :src="post.author_avatar" :size="42">{% raw %}{{ (post.author_name || '?').slice(0, 1) }}{% endraw %}</el-avatar>
<div>
<div class="post-author-name">{% raw %}{{ post.author_name || post.author_wxid || '未知用户' }}{% endraw %}</div>
<div class="post-meta">{% raw %}{{ post.timestamp || '时间未知' }} · ID: {{ post.id }}{% endraw %}</div>