mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-21 10:27:44 +08:00
Doc: update
This commit is contained in:
parent
fc45e2a528
commit
8dc637c544
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "simple-mind-map",
|
||||
"version": "0.9.1-fix.1",
|
||||
"version": "0.9.1-fix.2",
|
||||
"description": "一个简单的web在线思维导图",
|
||||
"authors": [
|
||||
{
|
||||
|
||||
@ -1,12 +1,26 @@
|
||||
# Changelog
|
||||
|
||||
## 0.9.1-fix.2
|
||||
|
||||
Fix:
|
||||
|
||||
> 1.Fix the issue where some browsers display default text when node text is empty.
|
||||
>
|
||||
> 2.Fix the issue of text style loss when inputting text again when the node text content is empty.
|
||||
>
|
||||
> 3.Fix the issue where exporting images also fails when node image loading fails.
|
||||
|
||||
New:
|
||||
|
||||
> 1.Support configuring the default image displayed when node image loading fails.
|
||||
|
||||
## 0.9.1-fix.1
|
||||
|
||||
修复:
|
||||
Fix:
|
||||
|
||||
1.修复自定义节点方法返回null时报错的问题。
|
||||
1.Fix the issue of custom node methods reporting null errors.
|
||||
|
||||
2.修复导出pdf文件体积很大的问题。
|
||||
2.Fix the issue of large volume of exported PDF files.
|
||||
|
||||
## 0.9.1
|
||||
|
||||
|
||||
@ -1,10 +1,21 @@
|
||||
<template>
|
||||
<div>
|
||||
<h1>Changelog</h1>
|
||||
<h2>0.9.1-fix.2</h2>
|
||||
<p>Fix:</p>
|
||||
<blockquote>
|
||||
<p>1.Fix the issue where some browsers display default text when node text is empty.</p>
|
||||
<p>2.Fix the issue of text style loss when inputting text again when the node text content is empty.</p>
|
||||
<p>3.Fix the issue where exporting images also fails when node image loading fails.</p>
|
||||
</blockquote>
|
||||
<p>New:</p>
|
||||
<blockquote>
|
||||
<p>1.Support configuring the default image displayed when node image loading fails.</p>
|
||||
</blockquote>
|
||||
<h2>0.9.1-fix.1</h2>
|
||||
<p>修复:</p>
|
||||
<p>1.修复自定义节点方法返回null时报错的问题。</p>
|
||||
<p>2.修复导出pdf文件体积很大的问题。</p>
|
||||
<p>Fix:</p>
|
||||
<p>1.Fix the issue of custom node methods reporting null errors.</p>
|
||||
<p>2.Fix the issue of large volume of exported PDF files.</p>
|
||||
<h2>0.9.1</h2>
|
||||
<p>Fix:</p>
|
||||
<blockquote>
|
||||
|
||||
@ -104,6 +104,7 @@ const mindMap = new MindMap({
|
||||
| disableTouchZoom(v0.8.1+) | Boolean | false | Prohibit double finger scaling, you can still use the API for scaling, which takes effect on the TouchEvent plugin | |
|
||||
| highlightNodeBoxStyle(v0.9.0+) | Object | { stroke: 'rgb(94, 200, 248)', fill: 'transparent' } | Highlight box style when the mouse moves into the summary to highlight the node it belongs to | |
|
||||
| createNewNodeBehavior(v0.9.1+) | String | default | Behavior when creating a new node. default(By default, newly created nodes will be activated and enter editing mode. If multiple new nodes are created simultaneously, they will only be activated and will not enter editing mode)、notActive(Do not activate newly created nodes)、activeOnly(Only activate newly created nodes and do not enter editing mode) | |
|
||||
| defaultNodeImage(v0.9.1-fix.2+) | String | | Image address, the default image displayed when node image loading fails | |
|
||||
|
||||
### Data structure
|
||||
|
||||
|
||||
@ -588,6 +588,13 @@
|
||||
<td>Behavior when creating a new node. default(By default, newly created nodes will be activated and enter editing mode. If multiple new nodes are created simultaneously, they will only be activated and will not enter editing mode)、notActive(Do not activate newly created nodes)、activeOnly(Only activate newly created nodes and do not enter editing mode)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>defaultNodeImage(v0.9.1-fix.2+)</td>
|
||||
<td>String</td>
|
||||
<td></td>
|
||||
<td>Image address, the default image displayed when node image loading fails</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Data structure</h3>
|
||||
|
||||
@ -1,5 +1,19 @@
|
||||
# Changelog
|
||||
|
||||
## 0.9.1-fix.2
|
||||
|
||||
修复:
|
||||
|
||||
> 1.修复当节点文本为空时部分浏览器会显示默认文本的问题。
|
||||
>
|
||||
> 2.修复当节点文本内容为空时再次输入文本时文本样式丢失的问题。
|
||||
>
|
||||
> 3.修复节点图片加载失败时导出图片也会失败的问题。
|
||||
|
||||
新增:
|
||||
|
||||
> 1.支持配置节点图片加载失败时显示的默认图片。
|
||||
|
||||
## 0.9.1-fix.1
|
||||
|
||||
修复:
|
||||
|
||||
@ -1,6 +1,17 @@
|
||||
<template>
|
||||
<div>
|
||||
<h1>Changelog</h1>
|
||||
<h2>0.9.1-fix.2</h2>
|
||||
<p>修复:</p>
|
||||
<blockquote>
|
||||
<p>1.修复当节点文本为空时部分浏览器会显示默认文本的问题。</p>
|
||||
<p>2.修复当节点文本内容为空时再次输入文本时文本样式丢失的问题。</p>
|
||||
<p>3.修复节点图片加载失败时导出图片也会失败的问题。</p>
|
||||
</blockquote>
|
||||
<p>新增:</p>
|
||||
<blockquote>
|
||||
<p>1.支持配置节点图片加载失败时显示的默认图片。</p>
|
||||
</blockquote>
|
||||
<h2>0.9.1-fix.1</h2>
|
||||
<p>修复:</p>
|
||||
<p>1.修复自定义节点方法返回null时报错的问题。</p>
|
||||
|
||||
@ -104,6 +104,7 @@ const mindMap = new MindMap({
|
||||
| disableTouchZoom(v0.8.1+) | Boolean | false | 禁止双指缩放,你仍旧可以使用api进行缩放,对TouchEvent插件生效 |
|
||||
| highlightNodeBoxStyle(v0.9.0+) | Object | { stroke: 'rgb(94, 200, 248)', fill: 'transparent' } | 鼠标移入概要高亮所属节点时的高亮框样式 |
|
||||
| createNewNodeBehavior(v0.9.1+) | String | default | 创建新节点时的行为。default(默认会激活新创建的节点,并且进入编辑模式。如果同时创建了多个新节点,那么只会激活而不会进入编辑模式)、notActive(不激活新创建的节点)、activeOnly(只激活新创建的节点,不进入编辑模式) |
|
||||
| defaultNodeImage(v0.9.1-fix.2+) | String | | 图片地址,当节点图片加载失败时显示的默认图片 |
|
||||
|
||||
### 数据结构
|
||||
|
||||
|
||||
@ -507,6 +507,12 @@
|
||||
<td>default</td>
|
||||
<td>创建新节点时的行为。default(默认会激活新创建的节点,并且进入编辑模式。如果同时创建了多个新节点,那么只会激活而不会进入编辑模式)、notActive(不激活新创建的节点)、activeOnly(只激活新创建的节点,不进入编辑模式)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>defaultNodeImage(v0.9.1-fix.2+)</td>
|
||||
<td>String</td>
|
||||
<td></td>
|
||||
<td>图片地址,当节点图片加载失败时显示的默认图片</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>数据结构</h3>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user