From bd2cfda9055759c1b540255492e18855767666aa Mon Sep 17 00:00:00 2001 From: wanglin2 <1013335014@qq.com> Date: Sun, 30 Mar 2025 15:55:52 +0800 Subject: [PATCH] =?UTF-8?q?Demo:=E7=82=B9=E5=87=BB=E5=A4=87=E6=B3=A8?= =?UTF-8?q?=E5=9B=BE=E6=A0=87=E4=BC=9A=E5=9C=A8=E4=BE=A7=E8=BE=B9=E6=A0=8F?= =?UTF-8?q?=E5=BD=A2=E5=BC=8F=E5=A4=87=E6=B3=A8=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/lang/en_us.js | 3 + web/src/lang/zh_cn.js | 3 + web/src/lang/zh_tw.js | 3 + web/src/pages/Edit/components/Edit.vue | 3 + .../Edit/components/NodeNoteContentShow.vue | 30 +++++-- .../pages/Edit/components/NodeNoteSidebar.vue | 90 +++++++++++++++++++ 6 files changed, 126 insertions(+), 6 deletions(-) create mode 100644 web/src/pages/Edit/components/NodeNoteSidebar.vue diff --git a/web/src/lang/en_us.js b/web/src/lang/en_us.js index 181e661e..f7d06de8 100644 --- a/web/src/lang/en_us.js +++ b/web/src/lang/en_us.js @@ -505,5 +505,8 @@ export default { '】Can you help me continue writing one of the contents of the mind map【', aiCreatePartMsgPostfix: '】The subordinate content of the node needs to be returned in Markdown format and can only use two syntax: Markdown title and unordered list. It can support multi-level nesting. Just return the content.' + }, + note: { + title: 'Note' } } diff --git a/web/src/lang/zh_cn.js b/web/src/lang/zh_cn.js index e22e9856..08ea0f62 100644 --- a/web/src/lang/zh_cn.js +++ b/web/src/lang/zh_cn.js @@ -487,5 +487,8 @@ export default { aiCreatePartMsgCenter: '】的思维导图,帮我续写其中一个内容为【', aiCreatePartMsgPostfix: '】的节点的下级内容,需要以Markdown格式返回,并且只能使用Markdown的标题和无序列表两种语法,可以支持多层嵌套。只需返回内容即可。' + }, + note: { + title: '备注' } } diff --git a/web/src/lang/zh_tw.js b/web/src/lang/zh_tw.js index ad928f79..3ed053e4 100644 --- a/web/src/lang/zh_tw.js +++ b/web/src/lang/zh_tw.js @@ -487,5 +487,8 @@ export default { aiCreatePartMsgCenter: '】的思維導圖,幫我續寫其中一個內容爲【', aiCreatePartMsgPostfix: '】的節點的下級內容,需要以Markdown格式返回,並且只能使用Markdown的標題和無序列表兩種語法,可以支持多層嵌套。只需返回內容即可。' + }, + note: { + title: '備註' } } diff --git a/web/src/pages/Edit/components/Edit.vue b/web/src/pages/Edit/components/Edit.vue index c99a51e5..708e818f 100644 --- a/web/src/pages/Edit/components/Edit.vue +++ b/web/src/pages/Edit/components/Edit.vue @@ -51,6 +51,7 @@ v-if="mindMap" :mindMap="mindMap" > +
+ @wheel.stop + > +
+ + +