From 98c9b5ba331f2d51215192c892d524cd0f771550 Mon Sep 17 00:00:00 2001 From: fofolee Date: Mon, 17 Feb 2025 08:52:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dlinux=E4=B8=8B=E5=BF=AB?= =?UTF-8?q?=E6=8D=B7=E9=94=AE=E6=98=BE=E7=A4=BA=E9=94=99=E8=AF=AF=E7=9A=84?= =?UTF-8?q?BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CommandEditor.vue | 1 - src/components/editor/CommandLanguageBar.vue | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/CommandEditor.vue b/src/components/CommandEditor.vue index 96dfce2..0a5dc51 100644 --- a/src/components/CommandEditor.vue +++ b/src/components/CommandEditor.vue @@ -60,7 +60,6 @@ import EditorTools from "components/editor/EditorTools"; import CommandRunResult from "components/CommandRunResult"; import CommandComposer from "components/composer/CommandComposer.vue"; import programs from "js/options/programs.js"; -import { dbManager } from "js/utools.js"; import { useCommandManager } from "js/commandManager.js"; // 预加载 MonacoEditor diff --git a/src/components/editor/CommandLanguageBar.vue b/src/components/editor/CommandLanguageBar.vue index 1071d73..3f35a21 100644 --- a/src/components/editor/CommandLanguageBar.vue +++ b/src/components/editor/CommandLanguageBar.vue @@ -250,7 +250,7 @@ export default { commandTypes, isSettingsVisible: false, showUserData: false, - ctrlKey: utools.isMacOs ? "⌘" : "⌃", + ctrlKey: window.utools.isMacOS() ? "⌘" : "⌃", }; }, computed: {