mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-08 06:16:27 +08:00
运行时不保存但记录历史
This commit is contained in:
parent
129375ff20
commit
1cb2dee7df
@ -212,7 +212,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 运行
|
// 运行
|
||||||
runCurrentCommand(cmd) {
|
runCurrentCommand(cmd) {
|
||||||
this.saveCurrentCommand(null);
|
this.saveToHistory(); // 运行时不保存但记录历史
|
||||||
let command = _.cloneDeep(this.quickcommandInfo);
|
let command = _.cloneDeep(this.quickcommandInfo);
|
||||||
if (cmd) command.cmd = cmd;
|
if (cmd) command.cmd = cmd;
|
||||||
command.output =
|
command.output =
|
||||||
@ -291,7 +291,7 @@ export default {
|
|||||||
.command-editor-container {
|
.command-editor-container {
|
||||||
color: black;
|
color: black;
|
||||||
background: white;
|
background: white;
|
||||||
overflow: hidden
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.body--dark .command-editor-container {
|
.body--dark .command-editor-container {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user