mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 09:47:10 +00:00
fix: action linkage rule (#4980)
This commit is contained in:
parent
c902875f3c
commit
021e2094f4
@ -132,6 +132,8 @@ export const linkageAction = async ({
|
|||||||
case ActionType.Active:
|
case ActionType.Active:
|
||||||
if (await conditionAnalyses({ ruleGroup: condition, variables, localVariables })) {
|
if (await conditionAnalyses({ ruleGroup: condition, variables, localVariables })) {
|
||||||
disableResult.push(false);
|
disableResult.push(false);
|
||||||
|
} else {
|
||||||
|
disableResult.push(field.disabled);
|
||||||
}
|
}
|
||||||
field.stateOfLinkageRules = {
|
field.stateOfLinkageRules = {
|
||||||
...field.stateOfLinkageRules,
|
...field.stateOfLinkageRules,
|
||||||
|
Loading…
Reference in New Issue
Block a user