聊天室自动管理用户信息

This commit is contained in:
2022-02-07 01:46:11 +08:00
parent c1a7eb4b7c
commit 31fdf5cc28
2 changed files with 23 additions and 6 deletions

View File

@@ -2,9 +2,9 @@
.dialogue-list
.post(v-for="item in data", :key="item._id")
.left
.avatar
img.avatar(:src="item.user.avatar")
.right
.name Last
.name {{ item.user.name }}
.message {{ item.data }}
</template>