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')