From 7d7ab9291af07df8b354bbb02a39da5f3af77427 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A1=97=E8=A7=92=E5=B0=8F=E6=9E=97?= <1013335014@qq.com> Date: Sat, 11 May 2024 10:17:13 +0800 Subject: [PATCH] =?UTF-8?q?Demo=EF=BC=9A=E4=BF=AE=E5=A4=8D=E5=85=A8?= =?UTF-8?q?=E5=B1=8F=E6=9F=A5=E7=9C=8B=E6=A8=A1=E5=BC=8F=E4=B8=8B=E8=8A=82?= =?UTF-8?q?=E7=82=B9=E5=A4=87=E6=B3=A8=E6=B5=AE=E5=B1=82=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/pages/Edit/components/NodeNoteContentShow.vue | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/web/src/pages/Edit/components/NodeNoteContentShow.vue b/web/src/pages/Edit/components/NodeNoteContentShow.vue index 91bac25e..dbc39d84 100644 --- a/web/src/pages/Edit/components/NodeNoteContentShow.vue +++ b/web/src/pages/Edit/components/NodeNoteContentShow.vue @@ -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() {