fix: linkage rule in action set both disable and enable (#3065)

This commit is contained in:
katherinehhh 2023-11-21 10:31:07 +08:00 committed by GitHub
parent 0445aa04d2
commit 78c4334e19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,8 +123,6 @@ export const linkageAction = async ({
case ActionType.Active: case ActionType.Active:
if (await conditionAnalyses({ rules: condition, variables, localVariables })) { if (await conditionAnalyses({ rules: condition, variables, localVariables })) {
disableResult.push(false); disableResult.push(false);
} else {
disableResult.push(true);
} }
field.linkageProperty = { field.linkageProperty = {
...field.linkageProperty, ...field.linkageProperty,