From fcdf1e8dd2cdb16863b65bc7c98b75dfbf9840cf Mon Sep 17 00:00:00 2001 From: Yaodong Yu <2814461814@qq.com> Date: Thu, 12 Jan 2023 23:11:11 +0800 Subject: [PATCH] feat: improve Select component performance (#1472) --- web/src/ApplicationEditPage.js | 9 +-- web/src/CropperDiv.js | 2 +- web/src/OrganizationEditPage.js | 17 ++-- web/src/PaymentEditPage.js | 2 +- web/src/PermissionEditPage.js | 119 ++++++++++++---------------- web/src/ProviderTable.js | 2 +- web/src/RoleEditPage.js | 37 ++++----- web/src/Setting.js | 8 ++ web/src/SignupTable.js | 6 +- web/src/UserEditPage.js | 42 +++++----- web/src/auth/ForgetPage.js | 4 +- web/src/common/AffiliationSelect.js | 26 +++--- 12 files changed, 115 insertions(+), 159 deletions(-) diff --git a/web/src/ApplicationEditPage.js b/web/src/ApplicationEditPage.js index c7327773..8dea2b8a 100644 --- a/web/src/ApplicationEditPage.js +++ b/web/src/ApplicationEditPage.js @@ -343,12 +343,9 @@ class ApplicationEditPage extends React.Component { {Setting.getLabel(i18next.t("application:Token format"), i18next.t("application:Token format - Tooltip"))} :