mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 09:47:10 +00:00
fix: linkage rule in action set both disable and enable (#3065)
This commit is contained in:
parent
0445aa04d2
commit
78c4334e19
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user