From 7fbce1ecd95b4e12ceda0a5b874ec8f3951625f7 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期五, 17 一月 2025 17:58:59 +0800 Subject: [PATCH] WI水务智能助理 --- src/components/chat/components/playBar/PlayBar.vue | 42 ++---------------------------------------- 1 files changed, 2 insertions(+), 40 deletions(-) diff --git a/src/components/chat/components/playBar/PlayBar.vue b/src/components/chat/components/playBar/PlayBar.vue index fbcd44a..aba898c 100644 --- a/src/components/chat/components/playBar/PlayBar.vue +++ b/src/components/chat/components/playBar/PlayBar.vue @@ -31,10 +31,11 @@ placeholder="鍦ㄨ繖閲岃緭鍏ユ偍鐨勯棶棰樺紑濮嬪拰AI瀵硅瘽" clearable > + </el-input> <InputTip ref="inputTipRef" :inputValue="inputValue" @updateInputValue="updateInputValue" :isHome="isHome" /> </div> - <div class="h100 flex items-center"> + <div class="h100 flex items-end"> <div class="upload_img space-y"> <div class="imgbox cursor-pointer flex items-center"> <el-button @@ -111,46 +112,7 @@ type: String, }); const inputRef = ref<InputInstance>(null); -// useSyncMsg({ -// msgList: props.msgList, -// updateLoadIndex: () => {}, -// }); -const test = () => { - // useSyncMsg({ - // msgList: props.msgList, - // updateLoadIndex: () => {}, - // }); - return; - const recentIds = [ - { id: 'a1b2c3d4', time: '2024-03-27 15:42:33' }, - { id: 'e5f6g7h8', time: '2024-02-15 09:23:45' }, - { id: 'i9j0k1l2', time: '2024-05-08 14:37:21' }, - { id: 'm3n4o5p6', time: '2024-01-30 11:55:16' }, - { id: 'q7r8s9t0', time: '2024-07-12 16:48:59' }, - { id: 'u1v2w3x4', time: '2024-04-03 10:15:27' }, - { id: 'y5z6a7b8', time: '2024-06-21 13:29:44' }, - { id: 'c9d0e1f2', time: '2024-08-09 17:52:38' }, - { id: 'g3h4i5j6', time: '2024-09-14 12:33:51' }, - { id: 'k7l8m9n0', time: '2024-10-25 08:19:07' }, - ]; - // const userHistoryIds = reverse(msgList.value.filter((item) => item.role === RoleEnum.user).map((item) => item.historyId)); - const currentHistoryIds = [ - { id: 'a1b2c3d4', time: '2024-03-27 15:42:33' }, - { id: 'e5f6g7h8', time: '2024-02-15 09:23:45' }, - // {id: 'i9j0k1l2', time: '2024-05-08 14:37:21'}, - // {id: 'm3n4o5p6', time: '2024-01-30 11:55:16'}, - { id: 'q7r8s9t0', time: '2024-07-12 16:48:59' }, - // {id: 'u1v2w3x4', time: '2024-04-03 10:15:27'}, - { id: 'y5z6a7b8', time: '2024-06-21 13:29:44' }, - { id: 'c9d0e1f2', time: '2024-08-09 17:52:38' }, - { id: 'g3h4i5j6', time: '2024-09-14 12:33:51' }, - // {id: 'k7l8m9n0', time: '2024-10-25 08:19:07'}, - ]; - const unSyncedHistoryIds = differenceBy(recentIds, currentHistoryIds, 'id'); - const unSyncedUserMsgs = []; - // const unSyncedMsgs =await loadReplyData(unSyncedUserMsgs); -}; const updateInputValue = (val) => { inputValue.value = val; }; -- Gitblit v1.9.3