From 4e6e0e222179438c4e6b5b760c9e8358da16111f Mon Sep 17 00:00:00 2001 From: wanglin2 <1013335014@qq.com> Date: Mon, 20 Nov 2023 11:04:23 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A=E4=BF=AE=E5=A4=8D=E5=8E=86?= =?UTF-8?q?=E5=8F=B2=E8=AE=B0=E5=BD=95=E6=95=B0=E6=8D=AE=E6=A6=82=E8=A6=81?= =?UTF-8?q?=E8=8A=82=E7=82=B9=E7=9A=84=E6=BF=80=E6=B4=BB=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E6=9C=AA=E8=A2=AB=E5=88=A0=E9=99=A4=E7=9A=84=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/utils/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/simple-mind-map/src/utils/index.js b/simple-mind-map/src/utils/index.js index 984d01c2..228516d1 100644 --- a/simple-mind-map/src/utils/index.js +++ b/simple-mind-map/src/utils/index.js @@ -152,6 +152,9 @@ export const copyRenderTree = (tree, root, removeActiveState = false) => { tree.data = simpleDeepClone(root.data) if (removeActiveState) { tree.data.isActive = false + if (tree.data.generalization) { + tree.data.generalization.isActive = false + } } tree.children = [] if (root.children && root.children.length > 0) {