Doc: update

This commit is contained in:
街角小林
2023-12-11 10:04:40 +08:00
parent f79a7fc117
commit 30de78908e
8 changed files with 70 additions and 0 deletions

View File

@@ -1,5 +1,13 @@
# Changelog
## 0.9.1-fix.1
修复:
1.修复自定义节点方法返回null时报错的问题。
2.修复导出pdf文件体积很大的问题。
## 0.9.1
Fix:

View File

@@ -1,6 +1,10 @@
<template>
<div>
<h1>Changelog</h1>
<h2>0.9.1-fix.1</h2>
<p>修复</p>
<p>1.修复自定义节点方法返回null时报错的问题</p>
<p>2.修复导出pdf文件体积很大的问题</p>
<h2>0.9.1</h2>
<p>Fix:</p>
<blockquote>

View File

@@ -56,6 +56,16 @@ Whether the node is currently being dragged
## Methods
### getPureData(removeActiveState = true, removeId = false)
> v0.9.0+
- `removeActiveState`Is remove the activation status of the node
- `removeId`Is remove the uid of the node
Serialize a node to obtain its pure data, excluding references to node instances.
### setGeneralizationOpacity(val)
> v0.9.0+

View File

@@ -31,6 +31,19 @@
</blockquote>
<p>Whether the node is currently being dragged</p>
<h2>Methods</h2>
<h3>getPureData(removeActiveState = true, removeId = false)</h3>
<blockquote>
<p>v0.9.0+</p>
</blockquote>
<ul>
<li>
<p><code>removeActiveState</code>Is remove the activation status of the node</p>
</li>
<li>
<p><code>removeId</code>Is remove the uid of the node</p>
</li>
</ul>
<p>Serialize a node to obtain its pure data, excluding references to node instances.</p>
<h3>setGeneralizationOpacity(val)</h3>
<blockquote>
<p>v0.9.0+</p>

View File

@@ -1,5 +1,13 @@
# Changelog
## 0.9.1-fix.1
修复:
1.修复自定义节点方法返回null时报错的问题。
2.修复导出pdf文件体积很大的问题。
## 0.9.1
修复:

View File

@@ -1,6 +1,10 @@
<template>
<div>
<h1>Changelog</h1>
<h2>0.9.1-fix.1</h2>
<p>修复</p>
<p>1.修复自定义节点方法返回null时报错的问题</p>
<p>2.修复导出pdf文件体积很大的问题</p>
<h2>0.9.1</h2>
<p>修复</p>
<blockquote>

View File

@@ -56,6 +56,16 @@
## 方法
### getPureData(removeActiveState = true, removeId = false)
> v0.9.0+
- `removeActiveState`:是否移除节点的激活状态
- `removeId`是否移除节点的uid字段
序列化节点,获取该节点的纯数据,不包含对节点实例的引用。
### setGeneralizationOpacity(val)
> v0.9.0+

View File

@@ -31,6 +31,19 @@
</blockquote>
<p>节点是否正在拖拽中</p>
<h2>方法</h2>
<h3>getPureData(removeActiveState = true, removeId = false)</h3>
<blockquote>
<p>v0.9.0+</p>
</blockquote>
<ul>
<li>
<p><code>removeActiveState</code>是否移除节点的激活状态</p>
</li>
<li>
<p><code>removeId</code>是否移除节点的uid字段</p>
</li>
</ul>
<p>序列化节点获取该节点的纯数据不包含对节点实例的引用</p>
<h3>setGeneralizationOpacity(val)</h3>
<blockquote>
<p>v0.9.0+</p>