From 42b9cd0e23e7ed974afa92d2c0353761feada39d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E4=B8=89?= <940119273@qq.com> Date: Thu, 9 Nov 2023 06:49:13 +0000 Subject: [PATCH] =?UTF-8?q?!2466=20=E4=BF=AE=E5=A4=8D:=E8=AF=BB=E5=8F=96?= =?UTF-8?q?=E9=97=A8=E6=9D=BF=E9=93=B0=E9=93=BE=E8=A7=84=E5=88=99=E8=A2=AB?= =?UTF-8?q?=E8=A6=86=E7=9B=96=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/UI/Components/Board/Door/HingeRule.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/UI/Components/Board/Door/HingeRule.tsx b/src/UI/Components/Board/Door/HingeRule.tsx index 7d85182ad..49b7eae06 100644 --- a/src/UI/Components/Board/Door/HingeRule.tsx +++ b/src/UI/Components/Board/Door/HingeRule.tsx @@ -202,7 +202,8 @@ export class HingeRules extends React.Component { store.m_Option.hindeBottomDist = uiOption.hindeBottomDist; store.m_Option.hindeTopDist = uiOption.hindeTopDist; store.m_Option.hingeCount = uiOption.hingeCount; - store.rules = config[1].other; + store.rules.length = 0; + Object.assign(store.rules, cof.other); }} />; })