新增showWaitBtn

This commit is contained in:
fofolee
2022-04-22 22:38:04 +08:00
parent 2b84ebdda3
commit 81147b02eb
4 changed files with 75 additions and 5 deletions

View File

@@ -373,9 +373,8 @@ export default {
runCurrentCommand() {
let command = _.cloneDeep(this.quickcommandInfo);
command.output =
this.$refs.sidebar?.currentCommand.output || command.program === "html"
? "html"
: "text";
this.$refs.sidebar?.currentCommand.output ||
(command.program === "html" ? "html" : "text");
command.cmdType = this.$refs.sidebar?.cmdType.name;
this.$refs.result.runCurrentCommand(command);
},