diff --git a/components/apolloTable/component/base/edit/search/index.less b/components/apolloTable/component/base/edit/search/index.less index d223212c1debdd1ddf6bb873b4c8e052f8051a4f..c439d10aa9c0a42183e197195c57a8d03e2646a0 100644 --- a/components/apolloTable/component/base/edit/search/index.less +++ b/components/apolloTable/component/base/edit/search/index.less @@ -1,18 +1,9 @@ .search { width: 100%; height: 100%; - :global(.ant-select-selector) { - height: 100% !important; - align-items: center; - } :global(.ant-select-selection) { width: 100%; min-height: 100%; border-radius: 0; - display: flex; - align-items: center; - } - :global(.ant-select-selection-search-input) { - height: 100% !important; } } diff --git a/components/apolloTable/component/base/extra/associationSearch/index.less b/components/apolloTable/component/base/extra/associationSearch/index.less index bcd42e0974bb8543472e29d56230ca811b2f0f75..a4901bf6aa80014146c06bc39a00573196aa6a32 100644 --- a/components/apolloTable/component/base/extra/associationSearch/index.less +++ b/components/apolloTable/component/base/extra/associationSearch/index.less @@ -1,7 +1,10 @@ .searchContainer { width: 100%; height: 100%; - :global(.ant-select-selection){ + :global(.ant-select-selection__rendered) { + width: 100%; + } + :global(.ant-select-selection) { min-height: 100%; } } diff --git a/components/apolloTable/component/base/extra/upload/index.tsx b/components/apolloTable/component/base/extra/upload/index.tsx index 1b2d59a8551237ab8de40a67a6dec8721dc6434e..c66b44a47e77e615474e260865b18df95d7f1d09 100644 --- a/components/apolloTable/component/base/extra/upload/index.tsx +++ b/components/apolloTable/component/base/extra/upload/index.tsx @@ -39,7 +39,7 @@ const UploadCom = (props) => { return setFormat(fileList); } const resData = file.response || {}; - const url = `${domain ? `https://${domain}` : CDN_HOST}/${resData.key}`; + const url = `${extraData.domain ? `https://${extraData.domain}` : CDN_HOST}/${resData.key}`; return { uid: file.uid, name: file.name,