From ea6a74dca7d9412a1a882307a07834f8f6770dfb Mon Sep 17 00:00:00 2001 From: Kinplemelon Date: Thu, 26 Sep 2024 17:25:08 +0800 Subject: [PATCH] refactor(global): remove some unnecessary imports like `defineProps` --- src/components/AdvancedSettingsBtn.vue | 1 - src/components/ArrayEditor.vue | 2 +- src/components/ArrayEditorInput.vue | 3 ++- src/components/ArrayEditorTable.vue | 3 ++- src/components/BooleanSelect.vue | 3 ++- src/components/CustomInputNumber.vue | 3 ++- src/components/InputWithPlaceholderSelect.vue | 24 ++++++++++++------- src/components/InputWithUnit.vue | 4 ++-- src/components/KeyAndValueEditor.vue | 2 +- .../ListenerDrawer/CustomConfigs.vue | 2 +- .../ListenerDrawer/DTLSVersionSelect.vue | 2 +- .../ListenerDrawer/ListenerDrawer.vue | 2 +- .../ListenerDrawer/SSLVersionSelect.vue | 2 +- src/components/MiniPagination.vue | 2 +- src/components/Monaco.vue | 2 +- src/components/Oneof.vue | 6 ++--- src/components/OneofRefs.vue | 4 ++-- src/components/OneofRefsSelect.vue | 2 +- src/components/PayloadDialog.vue | 2 +- src/components/PluginsForm/PluginFormKit.vue | 5 ++-- .../PluginsForm/PluginFormKitItem.vue | 3 ++- src/components/SelectAllowInput.vue | 2 +- src/components/TLSConfig/CertFileInput.vue | 3 ++- src/components/TLSConfig/CommonTLSConfig.vue | 3 ++- .../TLSConfig/ConfigItemDataLook.vue | 2 +- src/components/TLSConfig/TLSBaseConfig.vue | 3 ++- src/components/TLSConfig/TLSEnableConfig.vue | 2 +- src/components/TextareaWithUploader.vue | 3 ++- src/components/ZoneSelect.vue | 2 +- src/components/commonPagination.vue | 5 ++-- .../Auth/components/AuthnUsersImport.vue | 2 +- .../Auth/components/AuthzSettingDrawer.vue | 2 +- src/views/Auth/components/LdapConfig.vue | 3 ++- .../PasswordHashAlgorithmFormItems.vue | 3 ++- src/views/Base/QuickPanel.vue | 2 +- src/views/Clients/ClientDetails.vue | 14 +++++------ .../Clients/components/ClientAttrsDialog.vue | 3 ++- .../Clients/components/ClientFieldSelect.vue | 2 +- .../Connector/components/TypeSelect.vue | 2 +- .../Rule/components/ActionSelect.vue | 2 +- .../Rule/components/DeleteRuleConfirm.vue | 2 +- .../Rule/components/RuleFilterForm.vue | 8 ++----- src/views/Settings/Help.vue | 2 +- src/views/Settings/Settings.vue | 2 +- src/views/Webhook/components/Trigger.vue | 2 +- src/views/Webhook/components/WebhookForm.vue | 2 +- 46 files changed, 86 insertions(+), 71 deletions(-) diff --git a/src/components/AdvancedSettingsBtn.vue b/src/components/AdvancedSettingsBtn.vue index 8fca66dea..ed7760559 100644 --- a/src/components/AdvancedSettingsBtn.vue +++ b/src/components/AdvancedSettingsBtn.vue @@ -15,7 +15,6 @@