From 1779fb1d57e75898ce5968f650ab7b585351feb2 Mon Sep 17 00:00:00 2001 From: zhangwenshuai Date: Tue, 2 Feb 2021 15:29:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=83=A8=E9=97=A8=E7=BB=84?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../component/base/edit/tree-select/index.less | 8 ++++++++ .../apolloTable/component/base/edit/tree-select/index.tsx | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/components/apolloTable/component/base/edit/tree-select/index.less b/components/apolloTable/component/base/edit/tree-select/index.less index 90ffaaf..8f1735e 100644 --- a/components/apolloTable/component/base/edit/tree-select/index.less +++ b/components/apolloTable/component/base/edit/tree-select/index.less @@ -2,6 +2,14 @@ width: 100%; height: 100%; border-radius: 0; + :global(.ant-select-selection--single){ + height: 100%; + :global(.ant-select-selection__rendered){ + height: 100%; + display: flex; + align-items: center; + } + } :global(.ant-select-selector) { height: 100% !important; align-items: center; diff --git a/components/apolloTable/component/base/edit/tree-select/index.tsx b/components/apolloTable/component/base/edit/tree-select/index.tsx index aa76555..1187120 100644 --- a/components/apolloTable/component/base/edit/tree-select/index.tsx +++ b/components/apolloTable/component/base/edit/tree-select/index.tsx @@ -10,7 +10,7 @@ export const ApolloTreeSelect = (props: ApolloTreeSelectProps) => { 'columnConfig', 'onChange', 'isMultiple', - 'request', + // 'request', 'tableId', 'cellRenderProps', 'getCalendarContainer', -- 2.21.0