revert:association field log (#2840)

* revert: associotn field log

* revert: associotn field log
This commit is contained in:
katherinehhh 2023-10-16 10:41:44 +08:00 committed by GitHub
parent 6a7e7b3594
commit dd892f5bae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 3 deletions

View File

@ -44,7 +44,6 @@ const InternalAssociationSelect = observer((props: AssociationSelectProps) => {
const { objectValue = true } = props;
const field: any = useField();
const fieldSchema = useFieldSchema();
console.log(fieldSchema);
const service = useServiceOptions(props);
const { options: collectionField } = useAssociationFieldContext();
const initValue = isVariable(props.value) ? undefined : props.value;

View File

@ -50,7 +50,6 @@ export function useAssociationFieldContext<F extends GeneralField>() {
export default function useServiceOptions(props) {
const { action = 'list', service, fieldNames } = props;
console.log(fieldNames);
const params = service?.params || {};
const fieldSchema = useFieldSchema();
const field = useField();

View File

@ -134,7 +134,6 @@ export const AssignedField = (props: AssignedFieldProps) => {
},
[JSON.stringify(_.omit(props, 'value'))],
);
console.log(fieldSchema, collectionField);
return (
<VariableInput
form={form}