merge(master): 同步移动键盘优化与会话软删除到测试分支
This commit was merged in pull request #26.
This commit is contained in:
+2
-1
@@ -1239,9 +1239,10 @@ export type DigitalUser = {
|
|||||||
conversations: number;
|
conversations: number;
|
||||||
messages: number;
|
messages: number;
|
||||||
};
|
};
|
||||||
/** 用户所属会话的只读摘要。 */
|
/** 用户所属会话的只读摘要,包含前台已删除但后台保留的记录。 */
|
||||||
export type UserConversation = {
|
export type UserConversation = {
|
||||||
id: string;
|
id: string;
|
||||||
|
deletedAt: string | null;
|
||||||
title: string;
|
title: string;
|
||||||
characterId: string;
|
characterId: string;
|
||||||
characterName: string;
|
characterName: string;
|
||||||
|
|||||||
@@ -433,7 +433,11 @@ onMounted(load);
|
|||||||
@click="chooseConversation(c)"
|
@click="chooseConversation(c)"
|
||||||
>
|
>
|
||||||
<strong>{{ c.characterName }}</strong
|
<strong>{{ c.characterName }}</strong
|
||||||
><span>{{ c.title }}</span
|
><span
|
||||||
|
>{{ c.title
|
||||||
|
}}<el-tag v-if="c.deletedAt" size="small" type="info"
|
||||||
|
>前台已删除</el-tag
|
||||||
|
></span
|
||||||
><small
|
><small
|
||||||
>{{ c.messages }} 条消息 · {{ time(c.updatedAt) }}</small
|
>{{ c.messages }} 条消息 · {{ time(c.updatedAt) }}</small
|
||||||
></button
|
></button
|
||||||
|
|||||||
Reference in New Issue
Block a user