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('配置保存成功');