Demo:修复全屏查看模式下节点备注浮层无法显示的问题

This commit is contained in:
街角小林
2024-05-11 10:17:13 +08:00
parent bb2502501e
commit 7d7ab9291a

View File

@@ -22,6 +22,14 @@ import '@toast-ui/editor/dist/toastui-editor-viewer.css'
*/
export default {
name: 'NodeNoteContentShow',
props: {
mindMap: {
type: Object,
default() {
return null
}
}
},
data() {
return {
editor: null,
@@ -42,6 +50,7 @@ export default {
this.$bus.$on('expand_btn_click', this.hideNoteContent)
},
mounted() {
this.mindMap.el.appendChild(this.$refs.noteContentViewer)
this.initEditor()
},
beforeDestroy() {