Skip to content

Commit

Permalink
fix: 删除不相关代码
Browse files Browse the repository at this point in the history
  • Loading branch information
yy-wow committed Jan 13, 2025
1 parent dc3f7f2 commit 56c0e51
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/common/component/MonacoEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
language="javascript"
@editorDidMount="$emit('editorDidMount', $event)"
@change="$emit('change', $event)"
@shortcutSave="$emit('shortcutSave', $event)"
></monaco-editor>
</div>
<slot v-if="fullscreen" name="fullscreenFooter"></slot>
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 56c0e51

Please sign in to comment.