mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-12-20 10:55:43 +08:00
完全替换MonocoEditor组件为CodeEditor组件
This commit is contained in:
@@ -81,7 +81,7 @@ const CodeEditor = defineAsyncComponent({
|
||||
timeout: 3000,
|
||||
});
|
||||
|
||||
// TODO: 对称加密声明,保存命令不需要设置
|
||||
// TODO: 对称加密声明,运行命令不需要设置,commandTypes调整
|
||||
export default {
|
||||
components: {
|
||||
CodeEditor,
|
||||
@@ -179,9 +179,9 @@ export default {
|
||||
break;
|
||||
case "apply":
|
||||
// actionData 命令的cmd
|
||||
console.log(actionData);
|
||||
this.showComposer = false;
|
||||
this.quickcommandInfo.cmd = actionData;
|
||||
this.$refs.editor.formatDocument();
|
||||
break;
|
||||
case "close":
|
||||
this.showComposer = false;
|
||||
|
||||
Reference in New Issue
Block a user