From 62c61b6e53b39f8b8f617dff33ef8f0c1bb15cc1 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, 15 Jan 2024 17:11:16 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A=E4=BF=AE=E5=A4=8D=E5=B1=95?= =?UTF-8?q?=E5=BC=80=E6=94=B6=E8=B5=B7=E8=8A=82=E7=82=B9=E6=97=B6=E5=8C=BA?= =?UTF-8?q?=E9=97=B4=E6=A6=82=E8=A6=81=E4=BC=9A=E4=B8=A2=E5=A4=B1=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- simple-mind-map/src/core/render/node/nodeGeneralization.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simple-mind-map/src/core/render/node/nodeGeneralization.js b/simple-mind-map/src/core/render/node/nodeGeneralization.js index 89fd2ab9..597f6454 100644 --- a/simple-mind-map/src/core/render/node/nodeGeneralization.js +++ b/simple-mind-map/src/core/render/node/nodeGeneralization.js @@ -104,7 +104,7 @@ function renderGeneralization() { // 更新节点概要数据 function updateGeneralizationData() { - const childrenLength = this.children.length + const childrenLength = this.nodeData.children.length const list = this.formatGetGeneralization() const newList = [] list.forEach(item => {