From 6694dffa06a9cbcdc4e37ce6054de9fa2d0780a3 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: Mon, 1 Apr 2024 14:51:49 +0800 Subject: [PATCH 01/10] update --- simple-mind-map/src/constants/constant.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/simple-mind-map/src/constants/constant.js b/simple-mind-map/src/constants/constant.js index 32fc5c0b..6778376e 100644 --- a/simple-mind-map/src/constants/constant.js +++ b/simple-mind-map/src/constants/constant.js @@ -312,7 +312,9 @@ export const nodeDataNoStylePropList = [ 'associativeLineTargets', 'associativeLineTargetControlOffsets', 'associativeLinePoint', - 'associativeLineText' + 'associativeLineText', + 'attachmentUrl', + 'attachmentName' ] // 数据缓存 From 5abf09b56069ff62c0966a806ae95c3322b3eeed 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: Mon, 1 Apr 2024 17:49:57 +0800 Subject: [PATCH 02/10] Doc: update --- README.md | 4 +++ web/src/pages/Doc/en/introduction/index.md | 6 ++++ web/src/pages/Doc/en/introduction/index.vue | 38 ++++++++++++--------- web/src/pages/Doc/zh/introduction/index.md | 6 ++++ web/src/pages/Doc/zh/introduction/index.vue | 38 ++++++++++++--------- 5 files changed, 60 insertions(+), 32 deletions(-) diff --git a/README.md b/README.md index 60635fdb..be4fc059 100644 --- a/README.md +++ b/README.md @@ -316,4 +316,8 @@ const mindMap = new MindMap({ L + + + sunniberg +

diff --git a/web/src/pages/Doc/en/introduction/index.md b/web/src/pages/Doc/en/introduction/index.md index d7f1fab8..b21bb3c7 100644 --- a/web/src/pages/Doc/en/introduction/index.md +++ b/web/src/pages/Doc/en/introduction/index.md @@ -351,4 +351,10 @@ Open source is not easy. If this project is helpful to you, you can invite the a

L

+ +
+
+ +

sunniberg

+
\ No newline at end of file diff --git a/web/src/pages/Doc/en/introduction/index.vue b/web/src/pages/Doc/en/introduction/index.vue index cc100182..592b325b 100644 --- a/web/src/pages/Doc/en/introduction/index.vue +++ b/web/src/pages/Doc/en/introduction/index.vue @@ -8,17 +8,17 @@

Features

Features that will not be implemented:

@@ -34,16 +34,16 @@ frameworks such as Vue and React, or without a framework.

This is an online mind map built using the simple-mind-map library and based on Vue2.x and ElementUI. Features include:

@@ -305,6 +305,12 @@ full screen, support mini map

L

+ +
+
+ +

sunniberg

+
diff --git a/web/src/pages/Doc/zh/introduction/index.md b/web/src/pages/Doc/zh/introduction/index.md index 8c7ba2f8..e0c93aff 100644 --- a/web/src/pages/Doc/zh/introduction/index.md +++ b/web/src/pages/Doc/zh/introduction/index.md @@ -344,4 +344,10 @@

L

+ +
+
+ +

sunniberg

+
\ No newline at end of file diff --git a/web/src/pages/Doc/zh/introduction/index.vue b/web/src/pages/Doc/zh/introduction/index.vue index f1258cf1..8b1f0ef8 100644 --- a/web/src/pages/Doc/zh/introduction/index.vue +++ b/web/src/pages/Doc/zh/introduction/index.vue @@ -8,17 +8,17 @@

特性

不会实现的特性:

@@ -32,11 +32,11 @@

2.web

使用simple-mind-map库,基于vue2.xElementUI搭建的在线思维导图。特性:

提供文档页面服务。

3.dist

@@ -299,6 +299,12 @@

L

+ +
+
+ +

sunniberg

+
From 58dc232ebf09ea9e99643d256a22b0077d3932d4 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: Mon, 1 Apr 2024 20:04:06 +0800 Subject: [PATCH 03/10] Doc: update --- simple-mind-map/src/core/render/Render.js | 2 +- web/src/pages/Doc/catalogList.js | 2 +- web/src/pages/Doc/en/changelog/index.md | 16 ++++ web/src/pages/Doc/en/changelog/index.vue | 14 ++++ web/src/pages/Doc/en/constructor/index.md | 4 +- web/src/pages/Doc/en/constructor/index.vue | 12 ++- web/src/pages/Doc/en/node/index.md | 12 ++- web/src/pages/Doc/en/node/index.vue | 15 +++- web/src/pages/Doc/routerList.js | 1 + web/src/pages/Doc/zh/changelog/index.md | 16 ++++ web/src/pages/Doc/zh/changelog/index.vue | 14 ++++ web/src/pages/Doc/zh/constructor/index.md | 6 +- web/src/pages/Doc/zh/constructor/index.vue | 14 +++- web/src/pages/Doc/zh/course27/index.md | 49 +++++++++++ web/src/pages/Doc/zh/course27/index.vue | 97 ++++++++++++++++++++++ web/src/pages/Doc/zh/node/index.md | 10 +++ web/src/pages/Doc/zh/node/index.vue | 13 +++ 17 files changed, 289 insertions(+), 8 deletions(-) create mode 100644 web/src/pages/Doc/zh/course27/index.md create mode 100644 web/src/pages/Doc/zh/course27/index.vue diff --git a/simple-mind-map/src/core/render/Render.js b/simple-mind-map/src/core/render/Render.js index c6be1777..4369036f 100644 --- a/simple-mind-map/src/core/render/Render.js +++ b/simple-mind-map/src/core/render/Render.js @@ -335,7 +335,7 @@ class Render { }) // 一键整理布局 this.mindMap.keyCommand.addShortcut('Control+l', () => { - this.mindMap.execCommand('RESET_LAYOUT', this.resetLayout) + this.mindMap.execCommand('RESET_LAYOUT') }) // 上移节点 this.mindMap.keyCommand.addShortcut('Control+Up', () => { diff --git a/web/src/pages/Doc/catalogList.js b/web/src/pages/Doc/catalogList.js index 0c244d17..d3257bb9 100644 --- a/web/src/pages/Doc/catalogList.js +++ b/web/src/pages/Doc/catalogList.js @@ -11,7 +11,7 @@ let langList = [ } ] let StartList = ['introduction', 'start', 'deploy', 'client', 'translate', 'changelog'] -let CourseList = new Array(26).fill(0).map((_, index) => { +let CourseList = new Array(27).fill(0).map((_, index) => { return 'course' + (index + 1) }) let APIList = [ diff --git a/web/src/pages/Doc/en/changelog/index.md b/web/src/pages/Doc/en/changelog/index.md index a7d7e3d3..9048f00b 100644 --- a/web/src/pages/Doc/en/changelog/index.md +++ b/web/src/pages/Doc/en/changelog/index.md @@ -1,5 +1,21 @@ # Changelog +## 0.9.10 + +Fix: + +> 1.Fix the issue of all replace operation error during search; + +New: + +> 1.Add an event translate when moving the canvas; +> +> 2.Node content supports setting attachments; + +Client: + +> 1.Nodes support adding attachments; + ## 0.9.9-fix.2 Fix: diff --git a/web/src/pages/Doc/en/changelog/index.vue b/web/src/pages/Doc/en/changelog/index.vue index 5417e1cd..7deee9cd 100644 --- a/web/src/pages/Doc/en/changelog/index.vue +++ b/web/src/pages/Doc/en/changelog/index.vue @@ -1,6 +1,20 @@