mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-17 22:08:25 +08:00
Demo:修复全屏查看模式下节点备注浮层无法显示的问题
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user