From 8aa7ffddc511138d61d64029157c11cfccc5431d Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期四, 10 四月 2025 13:30:25 +0800 Subject: [PATCH] VITE_OUTPUT_DIR --- src/components/chat/components/playBar/hook/usePickHistory.ts | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/components/chat/components/playBar/hook/usePickHistory.ts b/src/components/chat/components/playBar/hook/usePickHistory.ts index e6056a7..f4871f7 100644 --- a/src/components/chat/components/playBar/hook/usePickHistory.ts +++ b/src/components/chat/components/playBar/hook/usePickHistory.ts @@ -12,7 +12,8 @@ /** @description 鏄惁寰幆閫夋嫨 */ const loopPick = false; const userMsgList = computed(() => { - return uniqBy(msgList.value.filter((item) => item.role === RoleEnum.user && !!item?.content?.values), 'content.values'); + const userMsgs = msgList.value.filter((item) => item.role === RoleEnum.user && !!item?.content?.values); + return userMsgs; }); const getLastIndexMsg = (lastIndex: number) => { -- Gitblit v1.9.3