From b2883ff55b6014dc8f883aa089555d846a685ee7 Mon Sep 17 00:00:00 2001 From: Junyi Date: Tue, 10 Oct 2023 13:46:17 +0800 Subject: [PATCH] fix(client): fix rendering cause range bug (#2785) --- .../core/client/src/schema-component/antd/variable/TextArea.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/client/src/schema-component/antd/variable/TextArea.tsx b/packages/core/client/src/schema-component/antd/variable/TextArea.tsx index b90adfefd1..1f03a8007e 100644 --- a/packages/core/client/src/schema-component/antd/variable/TextArea.tsx +++ b/packages/core/client/src/schema-component/antd/variable/TextArea.tsx @@ -222,7 +222,7 @@ export function TextArea(props) { } const nextRange = new Range(); if (changed) { - setChanged(false); + // setChanged(false); if (range.join() === '-1,0,-1,0') { return; }