diff --git a/src/components/CommandCard.vue b/src/components/CommandCard.vue index a31270a..f81a7b7 100644 --- a/src/components/CommandCard.vue +++ b/src/components/CommandCard.vue @@ -290,8 +290,6 @@ export default { handleCardClick() { // 视图模式下直接运行命令 if (this.cardStyle.code === 1) return this.runCommand(); - if (!this.canCommandEdit) - return quickcommand.showMessageBox("默认命令不可编辑", "warning"); this.editCommand(); }, // 编辑命令 diff --git a/src/components/CommandEditor.vue b/src/components/CommandEditor.vue index 42b5f25..2c7cea5 100644 --- a/src/components/CommandEditor.vue +++ b/src/components/CommandEditor.vue @@ -3,6 +3,7 @@