mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-05 05:38:23 +08:00
revert:association field log (#2840)
* revert: associotn field log * revert: associotn field log
This commit is contained in:
parent
6a7e7b3594
commit
dd892f5bae
@ -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;
|
||||
|
@ -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();
|
||||
|
@ -134,7 +134,6 @@ export const AssignedField = (props: AssignedFieldProps) => {
|
||||
},
|
||||
[JSON.stringify(_.omit(props, 'value'))],
|
||||
);
|
||||
console.log(fieldSchema, collectionField);
|
||||
return (
|
||||
<VariableInput
|
||||
form={form}
|
||||
|
Loading…
Reference in New Issue
Block a user