diff --git a/index.html b/index.html
index af9a7dd7..0ecbf961 100644
--- a/index.html
+++ b/index.html
@@ -1 +1 @@
-
一个简单的web思维导图实现
\ No newline at end of file
+一个简单的web思维导图实现
\ No newline at end of file
diff --git a/simple-mind-map/index.js b/simple-mind-map/index.js
index 107ea996..fb5f002c 100644
--- a/simple-mind-map/index.js
+++ b/simple-mind-map/index.js
@@ -369,7 +369,7 @@ class MindMap {
}
// 获取svg数据
- getSvgData({ paddingX = 0, paddingY = 0 }) {
+ getSvgData({ paddingX = 0, paddingY = 0 } = {}) {
const svg = this.svg
const draw = this.draw
// 保存原始信息
diff --git a/simple-mind-map/package.json b/simple-mind-map/package.json
index 311495d0..fab46370 100644
--- a/simple-mind-map/package.json
+++ b/simple-mind-map/package.json
@@ -1,6 +1,6 @@
{
"name": "simple-mind-map",
- "version": "0.5.5-fix.1",
+ "version": "0.5.5-fix.2",
"description": "一个简单的web在线思维导图",
"authors": [
{