mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-12-15 15:19:59 +08:00
默认命令只读保护
This commit is contained in:
@@ -290,8 +290,6 @@ export default {
|
||||
handleCardClick() {
|
||||
// 视图模式下直接运行命令
|
||||
if (this.cardStyle.code === 1) return this.runCommand();
|
||||
if (!this.canCommandEdit)
|
||||
return quickcommand.showMessageBox("默认命令不可编辑", "warning");
|
||||
this.editCommand();
|
||||
},
|
||||
// 编辑命令
|
||||
|
||||
Reference in New Issue
Block a user