Demo:修复全屏查看模式下节点备注浮层无法显示的问题
This commit is contained in:
parent
bb2502501e
commit
7d7ab9291a
@ -22,6 +22,14 @@ import '@toast-ui/editor/dist/toastui-editor-viewer.css'
|
|||||||
*/
|
*/
|
||||||
export default {
|
export default {
|
||||||
name: 'NodeNoteContentShow',
|
name: 'NodeNoteContentShow',
|
||||||
|
props: {
|
||||||
|
mindMap: {
|
||||||
|
type: Object,
|
||||||
|
default() {
|
||||||
|
return null
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
editor: null,
|
editor: null,
|
||||||
@ -42,6 +50,7 @@ export default {
|
|||||||
this.$bus.$on('expand_btn_click', this.hideNoteContent)
|
this.$bus.$on('expand_btn_click', this.hideNoteContent)
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
this.mindMap.el.appendChild(this.$refs.noteContentViewer)
|
||||||
this.initEditor()
|
this.initEditor()
|
||||||
},
|
},
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user