diff --git a/simple-mind-map/src/Node.js b/simple-mind-map/src/Node.js index e2520ec2..22c9da04 100644 --- a/simple-mind-map/src/Node.js +++ b/simple-mind-map/src/Node.js @@ -77,7 +77,7 @@ class Node { this._rectInfo = { imgContentWidth: 0, imgContentHeight: 0, - textContentHeight: 0, + textContentWidth: 0, textContentHeight: 0 } // 各种文字信息的间距 @@ -1009,4 +1009,4 @@ class Node { } } -export default Node \ No newline at end of file +export default Node