From 1cb2dee7dffbff62cd1cf54c04095de1a509709a Mon Sep 17 00:00:00 2001 From: fofolee Date: Fri, 20 Dec 2024 13:44:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=90=E8=A1=8C=E6=97=B6=E4=B8=8D=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E4=BD=86=E8=AE=B0=E5=BD=95=E5=8E=86=E5=8F=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CommandEditor.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/CommandEditor.vue b/src/components/CommandEditor.vue index 88ca467..7509274 100644 --- a/src/components/CommandEditor.vue +++ b/src/components/CommandEditor.vue @@ -212,7 +212,7 @@ export default { }, // 运行 runCurrentCommand(cmd) { - this.saveCurrentCommand(null); + this.saveToHistory(); // 运行时不保存但记录历史 let command = _.cloneDeep(this.quickcommandInfo); if (cmd) command.cmd = cmd; command.output = @@ -291,7 +291,7 @@ export default { .command-editor-container { color: black; background: white; - overflow: hidden + overflow: hidden; } .body--dark .command-editor-container {