feat: 新增 WebSocket 消息通知 (#20)

This commit is contained in:
Claudio Lecher
2024-05-22 13:36:19 +08:00
committed by GitHub
parent 7e329fcffa
commit adc6f643b3
11 changed files with 13470 additions and 4153 deletions

View File

@@ -46,8 +46,9 @@
<a-tooltip :content="record.content"><span>{{ record.title }}</span></a-tooltip>
</template>
<template #isRead="{ record }">
<a-tag v-if="record.isRead">已读</a-tag>
<a-tag v-else color="arcoblue">未读</a-tag>
<a-tag :color="record.isRead ? '' : 'arcoblue'">
{{ record.isRead ? '已读' : '未读' }}
</a-tag>
</template>
<template #type="{ record }">
<GiCellTag :value="record.type" :dict="message_type" />