diff --git a/packages/common/component/MonacoEditor.vue b/packages/common/component/MonacoEditor.vue index 07f22b1ad..e59fdc2f3 100644 --- a/packages/common/component/MonacoEditor.vue +++ b/packages/common/component/MonacoEditor.vue @@ -29,7 +29,6 @@ language="javascript" @editorDidMount="$emit('editorDidMount', $event)" @change="$emit('change', $event)" - @shortcutSave="$emit('shortcutSave', $event)" > @@ -62,7 +61,7 @@ export default { default: true } }, - emits: ['editorDidMount', 'change', 'shortcutSave', 'fullscreenChange'], + emits: ['editorDidMount', 'change', 'fullscreenChange'], setup(props, { emit }) { const editor = ref(null) const fullscreen = ref(false)