From f887b14d1fd3f959d16693a40ea4c87f429ab84d 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, 18 Dec 2023 10:47:14 +0800 Subject: [PATCH] Doc: update --- simple-mind-map/package.json | 2 +- web/src/pages/Doc/en/changelog/index.md | 22 +++++++++ web/src/pages/Doc/en/changelog/index.vue | 15 ++++++ web/src/pages/Doc/en/constructor/index.md | 2 +- web/src/pages/Doc/en/constructor/index.vue | 2 +- web/src/pages/Doc/en/render/index.md | 19 ++++---- web/src/pages/Doc/en/render/index.vue | 15 +++--- web/src/pages/Doc/en/utils/index.md | 6 ++- web/src/pages/Doc/en/utils/index.vue | 4 ++ web/src/pages/Doc/zh/changelog/index.md | 22 +++++++++ web/src/pages/Doc/zh/changelog/index.vue | 15 ++++++ web/src/pages/Doc/zh/constructor/index.md | 2 +- web/src/pages/Doc/zh/constructor/index.vue | 2 +- web/src/pages/Doc/zh/course11/index.md | 2 +- web/src/pages/Doc/zh/course11/index.vue | 2 +- web/src/pages/Doc/zh/course13/index.md | 18 +++++++- web/src/pages/Doc/zh/course13/index.vue | 18 +++++++- web/src/pages/Doc/zh/course15/index.md | 38 ++++----------- web/src/pages/Doc/zh/course15/index.vue | 33 ++++--------- web/src/pages/Doc/zh/course21/index.md | 32 +++++++------ web/src/pages/Doc/zh/course21/index.vue | 18 ++++---- web/src/pages/Doc/zh/course22/index.md | 4 +- web/src/pages/Doc/zh/course22/index.vue | 1 + web/src/pages/Doc/zh/course3/index.md | 54 ++++++++++++++++++++-- web/src/pages/Doc/zh/course3/index.vue | 32 +++++++++++-- web/src/pages/Doc/zh/course7/index.md | 2 + web/src/pages/Doc/zh/course7/index.vue | 3 ++ web/src/pages/Doc/zh/course8/index.md | 6 +-- web/src/pages/Doc/zh/course8/index.vue | 6 +-- web/src/pages/Doc/zh/course9/index.md | 10 +++- web/src/pages/Doc/zh/course9/index.vue | 10 +++- web/src/pages/Doc/zh/render/index.md | 18 +++++--- web/src/pages/Doc/zh/render/index.vue | 14 ++++-- web/src/pages/Doc/zh/utils/index.md | 8 +++- web/src/pages/Doc/zh/utils/index.vue | 5 ++ 35 files changed, 331 insertions(+), 131 deletions(-) diff --git a/simple-mind-map/package.json b/simple-mind-map/package.json index b4427461..c57e0575 100644 --- a/simple-mind-map/package.json +++ b/simple-mind-map/package.json @@ -1,6 +1,6 @@ { "name": "simple-mind-map", - "version": "0.9.1-fix.2", + "version": "0.9.2", "description": "一个简单的web在线思维导图", "authors": [ { diff --git a/web/src/pages/Doc/en/changelog/index.md b/web/src/pages/Doc/en/changelog/index.md index 423ee1ed..0e24eb2e 100644 --- a/web/src/pages/Doc/en/changelog/index.md +++ b/web/src/pages/Doc/en/changelog/index.md @@ -1,5 +1,27 @@ # Changelog +## 0.9.2 + +Fix: + +> 1.Fix the issue of no line breaks when node text contains consecutive numbers or letters. +> +> 2.Fix the issue of duplicate node drawing when importing files with the same UID as existing nodes on the current canvas. +> +> 3.Fix the issue of duplicate rendering of nodes caused by forward and backward when the number of nodes exceeds the maximum number of cache pools. +> +> 4.Fix the issue of the canvas moving in the opposite direction when scrolling horizontally with the mouse or touchpad. +> +> 5.Fix the issue where the mouse in flag is not reset when a node is destroyed. + +New: + +> 1.Modify the mousewheel event, change the dir flag to dirs, support storing multiple directions, and optimize the dual finger movement operation of the touchpad. +> +> 2.The TextEdit class adds the isShowTextEdit method to determine whether the current node is in an editing state. +> +> 3.Change the paste method of the render class to support pasting clipboard data. + ## 0.9.1-fix.2 Fix: diff --git a/web/src/pages/Doc/en/changelog/index.vue b/web/src/pages/Doc/en/changelog/index.vue index 7345615b..e09ebce6 100644 --- a/web/src/pages/Doc/en/changelog/index.vue +++ b/web/src/pages/Doc/en/changelog/index.vue @@ -1,6 +1,21 @@ diff --git a/web/src/pages/Doc/zh/changelog/index.md b/web/src/pages/Doc/zh/changelog/index.md index a5863827..cd2b79dc 100644 --- a/web/src/pages/Doc/zh/changelog/index.md +++ b/web/src/pages/Doc/zh/changelog/index.md @@ -1,5 +1,27 @@ # Changelog +## 0.9.2 + +修复: + +> 1.修复节点文本含有连续的数字或字母时没有换行的问题。 +> +> 2.修复导入含有和当前画布已有节点uid相同的文件时会重复绘制节点的问题。 +> +> 3.修复当节点数量超出了缓存池的最大数量时,前进回退会导致节点重复渲染的问题。 +> +> 4.修复鼠标或触控板水平滚动时画布移动方向相反的问题。 +> +> 5.修复节点被销毁时鼠标移入标志没有复位的问题。 + +新增: + +> 1.修改mousewheel事件,dir标志修改为dirs,支持存储多个方向,优化触控板的双指移动操作。 +> +> 2.TextEdit类增加isShowTextEdit方法判断当前是否处在节点编辑状态。 +> +> 3.Render类的paste方法改为支持粘贴剪贴板的数据。 + ## 0.9.1-fix.2 修复: diff --git a/web/src/pages/Doc/zh/changelog/index.vue b/web/src/pages/Doc/zh/changelog/index.vue index 5c7dc374..45417006 100644 --- a/web/src/pages/Doc/zh/changelog/index.vue +++ b/web/src/pages/Doc/zh/changelog/index.vue @@ -1,6 +1,21 @@