忽略输出时不弹窗

This commit is contained in:
fofolee
2022-04-14 00:09:59 +08:00
parent 39b8c23a73
commit bc816f689f
3 changed files with 5 additions and 3 deletions

View File

@@ -411,6 +411,8 @@ export default {
},
// 编辑命令
editCommand(command) {
// 即可传入 code也可直接传入 command
if (typeof command === "string") command = this.allQuickCommands[command];
this.commandEditorAction = {
type: "edit",
data: _.cloneDeep(command),