From 9346e58e3e8e20c06ce6b7c4905e3fa9a918fb9a Mon Sep 17 00:00:00 2001 From: shenjianZ Date: Mon, 12 Jan 2026 21:26:17 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E5=A4=8D=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E6=A0=87=E9=A2=98=E6=A0=8F=E6=97=A0=E6=B3=95=E6=8B=96=E5=8A=A8?= =?UTF-8?q?=E7=AA=97=E5=8F=A3=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src-tauri/capabilities/default.json | 1 + client/src/components/TitleBar.vue | 24 +++++++++++++++------- client/src/views/admin/NewsManagement.vue | 2 +- 3 files changed, 19 insertions(+), 8 deletions(-) diff --git a/client/src-tauri/capabilities/default.json b/client/src-tauri/capabilities/default.json index 7a40984..6201f62 100644 --- a/client/src-tauri/capabilities/default.json +++ b/client/src-tauri/capabilities/default.json @@ -13,6 +13,7 @@ "core:window:allow-close", "core:window:allow-is-maximized", "core:window:allow-toggle-maximize", + "core:window:allow-start-dragging", "opener:default", { "identifier": "http:default", diff --git a/client/src/components/TitleBar.vue b/client/src/components/TitleBar.vue index 4f6342e..72175d0 100644 --- a/client/src/components/TitleBar.vue +++ b/client/src/components/TitleBar.vue @@ -66,20 +66,21 @@ const close = async () => {