fix: cascadeselect report error in m2m association field (#2819)

This commit is contained in:
katherinehhh 2023-10-13 11:48:04 +08:00 committed by GitHub
parent 4226d7961c
commit 04db43985c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View File

@ -163,7 +163,7 @@ export default function useServiceOptions(props) {
); );
}, [ }, [
collectionField?.interface, collectionField?.interface,
collectionField.foreignKey, collectionField?.foreignKey,
fieldSchema, fieldSchema,
fieldServiceFilter, fieldServiceFilter,
sourceValue, sourceValue,

View File

@ -51,8 +51,6 @@ export const linkageMergeAction = async ({
if (await conditionAnalyses({ rules: condition, formValues: values, variables, localVariables })) { if (await conditionAnalyses({ rules: condition, formValues: values, variables, localVariables })) {
field._display = '_display' in field ? field._display : field.display; field._display = '_display' in field ? field._display : field.display;
field.display = operator; field.display = operator;
} else {
field.display = field._display;
} }
break; break;
case ActionType.Editable: case ActionType.Editable: