diff --git a/changelog.md b/changelog.md index 2b18382..23014de 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,6 @@ ## v0.3.0 +- 新增:快捷面板开关和快捷键配置 - 新增:插件管理隐藏系统插件版本 - 新增:工单反馈功能,便于解决问题 - 新增:setting.darkModeSupport 配置项,默认为false diff --git a/electron/mapi/manager/hotkey/handle.ts b/electron/mapi/manager/hotkey/handle.ts index 1e054b1..72041a5 100644 --- a/electron/mapi/manager/hotkey/handle.ts +++ b/electron/mapi/manager/hotkey/handle.ts @@ -1,5 +1,6 @@ import {ManagerPluginEvent} from "../plugin/event"; import {ManagerConfig} from "../config/config"; +import ConfigMain from "../../config/main"; export const ManagerHotkeyHandle = { @@ -11,6 +12,9 @@ export const ManagerHotkeyHandle = { } }, async fastPanelTrigger() { + if (!await ConfigMain.get('fastPanelEnable', true)) { + return + } if (await ManagerPluginEvent.isFastPanelWindowShown(null, null)) { await ManagerPluginEvent.hideFastPanelWindow(null, null) } else { diff --git a/src/pages/System/SystemSetting.vue b/src/pages/System/SystemSetting.vue index f9acb11..a31974c 100644 --- a/src/pages/System/SystemSetting.vue +++ b/src/pages/System/SystemSetting.vue @@ -1,14 +1,30 @@