From 7face117f302e13132a6034a3371e6dda59a3f06 Mon Sep 17 00:00:00 2001 From: YGXB_net Date: Tue, 28 Apr 2026 14:53:19 +0800 Subject: [PATCH] =?UTF-8?q?refactor(App):=20=E8=A7=A3=E5=86=B3=E7=A8=8B?= =?UTF-8?q?=E5=BA=8F=E8=BF=90=E8=A1=8C=E6=97=B6=E9=87=8D=E5=A4=8D=E5=86=99?= =?UTF-8?q?=E5=85=A5=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除 watch 监听器,改用事件驱动方式保存配置 - 添加 writeServerUrl、writeToken 等配置保存方法 - 在表单项上绑定 change 事件触发配置保存 - 移除不再使用的 nextTick 导入 - 统一配置保存逻辑到独立函数中 --- frontend/src/App.vue | 52 ++++++++++++++++++++++---------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 5c4f446..a76ca65 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1,5 +1,5 @@