diff --git a/packages/core/client/src/schema-component/antd/association-select/useServiceOptions.ts b/packages/core/client/src/schema-component/antd/association-select/useServiceOptions.ts
index 1a07bba535..069c0241b1 100644
--- a/packages/core/client/src/schema-component/antd/association-select/useServiceOptions.ts
+++ b/packages/core/client/src/schema-component/antd/association-select/useServiceOptions.ts
@@ -4,7 +4,8 @@ import { useCollection, useCollectionManager } from '../../../collection-manager
import { useRecord } from '../../../record-provider';
export default function useServiceOptions(props) {
- const { action = 'list', service, params, value } = props;
+ const { action = 'list', service, value } = props;
+ const params = service?.params || {};
const fieldSchema = useFieldSchema();
const { getField } = useCollection();
const { getCollectionFields } = useCollectionManager();
diff --git a/packages/core/client/src/schema-component/antd/remote-select/RemoteSelect.tsx b/packages/core/client/src/schema-component/antd/remote-select/RemoteSelect.tsx
index 9d027c9246..02efed8da7 100644
--- a/packages/core/client/src/schema-component/antd/remote-select/RemoteSelect.tsx
+++ b/packages/core/client/src/schema-component/antd/remote-select/RemoteSelect.tsx
@@ -1,7 +1,6 @@
import { LoadingOutlined } from '@ant-design/icons';
import { connect, mapProps, mapReadPretty } from '@formily/react';
import { SelectProps } from 'antd';
-import _ from 'lodash';
import React, { useMemo } from 'react';
import { ResourceActionOptions, useRequest } from '../../../api-client';
import { useCompile } from '../../hooks';
diff --git a/packages/core/client/src/schema-component/antd/select/Select.tsx b/packages/core/client/src/schema-component/antd/select/Select.tsx
index 9cfdf6ef87..a93e7d11d2 100644
--- a/packages/core/client/src/schema-component/antd/select/Select.tsx
+++ b/packages/core/client/src/schema-component/antd/select/Select.tsx
@@ -77,8 +77,9 @@ const InternalSelect = connect(
}
return v;
};
+ console.log('props', props);
if (objectValue) {
- return ;
+ return ;
}
return (