From 9411e848b3781563dd62bc3ec98eda0746813363 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Mon, 9 Dec 2024 09:16:09 +0800 Subject: [PATCH 1/3] =?UTF-8?q?conf:=20workbox=20=E7=BC=93=E5=AD=98?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.js b/vite.config.js index 7806ee0..8a05e76 100644 --- a/vite.config.js +++ b/vite.config.js @@ -25,7 +25,7 @@ const manifestForPWAPlugIn = { navigateFallbackDenylist: [/^\/maintenance/], globPatterns: ['**/*.{json,css,js,html,ico,png,svg,woff2}'], globIgnores: ['**/maintenance.html', '**/maintenance/*'], - maximumFileSizeToCacheInBytes: 3000000, + maximumFileSizeToCacheInBytes: 30000000, clientsClaim: true, // skipWaiting: true, runtimeCaching: [ From 036e1f72201d05a21895b0865ed3cf59db437eaa Mon Sep 17 00:00:00 2001 From: Lei OT Date: Mon, 9 Dec 2024 09:42:10 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=9C=AA=E8=AF=BB?= =?UTF-8?q?=E6=95=B0=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Conversations/Online/MessagesWrapper.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Conversations/Online/MessagesWrapper.jsx b/src/views/Conversations/Online/MessagesWrapper.jsx index 9b74cad..c86fb54 100644 --- a/src/views/Conversations/Online/MessagesWrapper.jsx +++ b/src/views/Conversations/Online/MessagesWrapper.jsx @@ -62,8 +62,8 @@ const MessagesWrapper = ({ updateRead = true, forceGetMessages }) => { useEffect(() => { if (updateRead === true && isVisible && currentConversation.opi_sn && activeMessages.length > 0) { fetchCleanUnreadMsgCount({ opisn: currentConversation.opi_sn, conversationid: currentConversation.sn }); - refreshTotalNotify(); updateCurrentConversation({ unread_msg_count: 0 }); + refreshTotalNotify(); } return () => {}; }, [activeMessages.length, isVisible]); From 889d665b3d7c959eac31dd64c3e8d82a32afb86c Mon Sep 17 00:00:00 2001 From: Lei OT Date: Mon, 9 Dec 2024 09:42:23 +0800 Subject: [PATCH 3/3] # --- src/views/Conversations/Online/Components/EmailDetail.jsx | 2 +- src/views/Conversations/Online/Input/EmailComposer.jsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/Conversations/Online/Components/EmailDetail.jsx b/src/views/Conversations/Online/Components/EmailDetail.jsx index 7c3a294..f2ec918 100644 --- a/src/views/Conversations/Online/Components/EmailDetail.jsx +++ b/src/views/Conversations/Online/Components/EmailDetail.jsx @@ -84,7 +84,7 @@ const EmailDetail = ({ open, setOpen, emailMsg={}, ...props }) => { 绑定订单 ); - btns.push(); + btns.push(); } switch (status) { diff --git a/src/views/Conversations/Online/Input/EmailComposer.jsx b/src/views/Conversations/Online/Input/EmailComposer.jsx index b37bce0..ae4530c 100644 --- a/src/views/Conversations/Online/Input/EmailComposer.jsx +++ b/src/views/Conversations/Online/Input/EmailComposer.jsx @@ -184,10 +184,10 @@ const EmailComposer = ({ ...props }) => { onFinishFailed={console.log} className='' > - + {/* - + */} { }} // variant={'borderless'} /> - {/*