From b4a14e2a9e481679b42ee7bec0779e66c4711f06 Mon Sep 17 00:00:00 2001 From: fofolee Date: Wed, 12 Feb 2025 15:14:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9programs=E5=BC=95=E7=94=A8?= =?UTF-8?q?=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CommandRunResult.vue | 2 +- src/components/card/layouts/DenseLayout.vue | 6 ++++-- src/components/card/layouts/ListLayout.vue | 4 +++- src/components/editor/CommandLanguageBar.vue | 14 ++++++++++---- 4 files changed, 18 insertions(+), 8 deletions(-) diff --git a/src/components/CommandRunResult.vue b/src/components/CommandRunResult.vue index f74b8ae..de82142 100644 --- a/src/components/CommandRunResult.vue +++ b/src/components/CommandRunResult.vue @@ -171,7 +171,7 @@ export default { let option = command.program === "custom" ? command.customOptions - : this.$root.programs[command.program]; + : programs[command.program]; option.scptarg = command.scptarg || ""; option.charset = command.charset || {}; option.envPath = this.$root.nativeProfile.envPath.trim() || ""; diff --git a/src/components/card/layouts/DenseLayout.vue b/src/components/card/layouts/DenseLayout.vue index 3fd5d29..4e1db69 100644 --- a/src/components/card/layouts/DenseLayout.vue +++ b/src/components/card/layouts/DenseLayout.vue @@ -46,7 +46,7 @@ width="16px" />
|
- +
{{ programName }}
@@ -55,6 +55,7 @@