mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-09-24 04:53:31 +08:00
更新快捷动作的声明
This commit is contained in:
@@ -127,10 +127,7 @@ export default {
|
||||
type: Object,
|
||||
required: true,
|
||||
},
|
||||
allQuickCommandTags: {
|
||||
type: Array,
|
||||
required: true,
|
||||
},
|
||||
allQuickCommandTags: Array,
|
||||
isLeaving: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
|
@@ -251,12 +251,9 @@ export default {
|
||||
}
|
||||
);
|
||||
// F11 全屏
|
||||
this.rawEditor().addCommand(
|
||||
monaco.KeyCode.F11,
|
||||
() => {
|
||||
this.$emit("keyStroke", "fullscreen");
|
||||
}
|
||||
);
|
||||
this.rawEditor().addCommand(monaco.KeyCode.F11, () => {
|
||||
this.$emit("keyStroke", "fullscreen");
|
||||
});
|
||||
},
|
||||
getSelectionOrLineContent() {
|
||||
let selection = this.rawEditor().getSelection();
|
||||
|
Reference in New Issue
Block a user