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 @@ @@ -16,7 +32,7 @@ onMounted(() => { 功能设置 - + 呼出快捷键 @@ -25,7 +41,7 @@ onMounted(() => { @change="manager.onConfigChange('mainTrigger',$event)"/> - + 主题样式 @@ -38,12 +54,28 @@ onMounted(() => { - + 快捷面板 - + + + + + + 快捷面板呼出快捷键 + + + + Ctrl + Alt + Option + Meta +