mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-09-24 13:03:30 +08:00
精简 monaco 相关代码
This commit is contained in:
@@ -576,11 +576,9 @@ export default {
|
||||
},
|
||||
editorEvent(event) {
|
||||
switch (event.type) {
|
||||
case "close":
|
||||
this.isCommandEditorShow = false;
|
||||
return;
|
||||
case "save":
|
||||
this.saveCommand(event.data);
|
||||
this.isCommandEditorShow = false;
|
||||
default:
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user