运行时不保存但记录历史

This commit is contained in:
fofolee 2024-12-20 13:44:37 +08:00
parent 129375ff20
commit 1cb2dee7df

View File

@ -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 {