From 78c4334e1976c6dbedcfe60088b060ea63e01f03 Mon Sep 17 00:00:00 2001 From: katherinehhh Date: Tue, 21 Nov 2023 10:31:07 +0800 Subject: [PATCH] fix: linkage rule in action set both disable and enable (#3065) --- packages/core/client/src/schema-component/antd/action/utils.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/core/client/src/schema-component/antd/action/utils.ts b/packages/core/client/src/schema-component/antd/action/utils.ts index 3f6802126..19067bd16 100644 --- a/packages/core/client/src/schema-component/antd/action/utils.ts +++ b/packages/core/client/src/schema-component/antd/action/utils.ts @@ -123,8 +123,6 @@ export const linkageAction = async ({ case ActionType.Active: if (await conditionAnalyses({ rules: condition, variables, localVariables })) { disableResult.push(false); - } else { - disableResult.push(true); } field.linkageProperty = { ...field.linkageProperty,