From e0d13057c31aa0fcd0946703a07d18cca9d24b7a Mon Sep 17 00:00:00 2001 From: alger Date: Mon, 31 Mar 2025 23:04:35 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9Bfix:=20=E4=BF=AE=E6=94=B9=E6=A0=87?= =?UTF-8?q?=E9=A2=98=E6=A0=8F=E8=A1=8C=E4=B8=BA=EF=BC=8C=E5=B0=86=E6=9C=80?= =?UTF-8?q?=E5=B0=8F=E5=8C=96=E5=8A=9F=E8=83=BD=E6=9B=B4=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=E6=89=98=E7=9B=98=E6=98=BE=E7=A4=BA=EF=BC=8C=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E7=AA=97=E5=8F=A3=E7=AE=A1=E7=90=86=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix #98 --- src/renderer/layout/components/TitleBar.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/layout/components/TitleBar.vue b/src/renderer/layout/components/TitleBar.vue index a37520d..0316bba 100644 --- a/src/renderer/layout/components/TitleBar.vue +++ b/src/renderer/layout/components/TitleBar.vue @@ -87,7 +87,7 @@ const handleAction = (action: 'minimize' | 'close') => { } if (action === 'minimize') { - window.api.minimize(); + window.api.miniTray(); } else { window.api.close(); } @@ -98,7 +98,7 @@ const handleClose = () => { const { closeAction } = settingsStore.setData; if (closeAction === 'minimize') { - window.api.minimize(); + window.api.miniTray(); } else if (closeAction === 'close') { window.api.close(); } else {