From 58dca13d3d480dbf90a12debc6e04543e939e077 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Wed, 9 Apr 2025 14:21:46 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=89=8D=E7=AB=AF):=20=E4=BC=9A=E8=AF=9D?= =?UTF-8?q?=E5=88=97=E8=A1=A8:=20`=E4=BB=8A=E6=97=A5`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Conversations/Online/Components/ChatListFilter.jsx | 1 + src/views/Conversations/Online/ConversationsList.jsx | 1 + 2 files changed, 2 insertions(+) diff --git a/src/views/Conversations/Online/Components/ChatListFilter.jsx b/src/views/Conversations/Online/Components/ChatListFilter.jsx index edde68e..592eda4 100644 --- a/src/views/Conversations/Online/Components/ChatListFilter.jsx +++ b/src/views/Conversations/Online/Components/ChatListFilter.jsx @@ -7,6 +7,7 @@ import { FilterIcon } from '@/components/Icons'; const otypes = [ { label: 'All', value: '', labelValue: '' }, + { value: 'istoday@1', labelValue: '1', label: '今日' }, ...OrderLabelDefaultOptions.filter((o) => [240003, 240002].includes(o.value), ).map((o) => ({ ...o, labelValue: o.value, value: `label@${o.value}` })), diff --git a/src/views/Conversations/Online/ConversationsList.jsx b/src/views/Conversations/Online/ConversationsList.jsx index 68e76cb..ba163b6 100644 --- a/src/views/Conversations/Online/ConversationsList.jsx +++ b/src/views/Conversations/Online/ConversationsList.jsx @@ -70,6 +70,7 @@ const Conversations = () => { olabel: otypeC === 'label' ? otypeV : '', ostate: otypeC === 'state' ? otypeV : '', intour: otypeC === 'intour' ? otypeV : '', + istoday: otypeC === 'istoday' ? otypeV : '', session_enable: activeList ? 1 : 0, lastpagetime: current ? dayjs(current).add(1, 'minutes').format('YYYY-MM-DDTHH:mm:ss')