From 644b6eccb38db7edc39c43a9ab6a6d6c76b45045 Mon Sep 17 00:00:00 2001 From: katherinehhh Date: Fri, 26 May 2023 11:39:16 +0800 Subject: [PATCH] refactor: association select display loading when data is loading (#1925) * refactor: association select loading * refactor: association select loading * refactor: loading --- .../antd/remote-select/RemoteSelect.tsx | 3 +-- .../client/src/schema-component/antd/select/Select.tsx | 10 ++++++---- 2 files changed, 7 insertions(+), 6 deletions(-) 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 3fcc0dbb9b..fee7c446f0 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 @@ -192,7 +192,6 @@ const InternalRemoteSelect = connect( run(); firstRun.current = true; }; - return (