mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-09-24 13:03:30 +08:00
退出时保存光标位置
This commit is contained in:
@@ -19,7 +19,6 @@ export default {
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
window.commandPage = this;
|
||||
this.runCurrentCommand();
|
||||
},
|
||||
computed: {
|
||||
|
@@ -181,6 +181,7 @@
|
||||
>
|
||||
<q-card>
|
||||
<CommandEditor
|
||||
ref="commandEditor"
|
||||
:action="commandEditorAction"
|
||||
@editorEvent="editorEvent"
|
||||
></CommandEditor>
|
||||
@@ -303,7 +304,6 @@ export default {
|
||||
methods: {
|
||||
// 初始化
|
||||
initPage() {
|
||||
window.configuration = this;
|
||||
// 已启用的 features
|
||||
let activatedFeatures = this.getActivatedFeatures();
|
||||
// 已启用的命令的 featureCode
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div>
|
||||
<CommandEditor :action="action"></CommandEditor>
|
||||
<CommandEditor ref="commandEditor" :action="action"></CommandEditor>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
Reference in New Issue
Block a user