From 6e336fa78ef864d3344f66e938077b07deda5cf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Wed, 27 Nov 2024 19:07:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=90=88=E5=B9=B6=E4=B8=A2=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- napcat.webui/src/pages/OtherConfig.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/napcat.webui/src/pages/OtherConfig.vue b/napcat.webui/src/pages/OtherConfig.vue index 76bf7c84..69173147 100644 --- a/napcat.webui/src/pages/OtherConfig.vue +++ b/napcat.webui/src/pages/OtherConfig.vue @@ -12,6 +12,9 @@ + + +
保存 @@ -30,6 +33,7 @@ import { QQLoginManager } from '@/backend/shell'; const otherConfig = ref>({ musicSignUrl: '', enableLocalFile2Url: false, + parseMultMsg: true }); const labelAlign = ref(); @@ -59,6 +63,7 @@ const loadConfig = async () => { if (userConfig) { otherConfig.value.musicSignUrl = userConfig.musicSignUrl; otherConfig.value.enableLocalFile2Url = userConfig.enableLocalFile2Url; + otherConfig.value.parseMultMsg = userConfig.parseMultMsg; } } catch (error) { console.error('Error loading config:', error); @@ -71,6 +76,7 @@ const saveConfig = async () => { if (userConfig) { userConfig.musicSignUrl = otherConfig.value.musicSignUrl || ''; userConfig.enableLocalFile2Url = otherConfig.value.enableLocalFile2Url ?? false; + userConfig.parseMultMsg = otherConfig.value.parseMultMsg ?? true; const success = await setOB11Config(userConfig); if (success) { MessagePlugin.success('配置保存成功');