mirror of
https://github.com/purocean/yn.git
synced 2026-09-24 15:46:02 +08:00
fix: 修复编辑器移除问题
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<template>
|
||||
<MonacoEditor ref="refEditor" class="editor" />
|
||||
<div class="editor-container">
|
||||
<MonacoEditor ref="refEditor" class="editor" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
@@ -155,3 +157,11 @@ export default defineComponent({
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.editor-container {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user