From 0de32407c75be9ae3aa8465b2648dfd2afcd8066 Mon Sep 17 00:00:00 2001 From: tiny-craft <137850705+tiny-craft@users.noreply.github.com> Date: Wed, 6 Sep 2023 16:07:20 +0800 Subject: [PATCH] perf: cancel focus for all button components --- frontend/src/AppContent.vue | 6 +++++- frontend/src/components/common/IconButton.vue | 4 ++-- frontend/src/components/common/Toolbar.vue | 14 -------------- frontend/src/components/content/ContentPane.vue | 2 +- .../src/components/content/ContentServerPane.vue | 2 +- .../components/content_value/ContentToolbar.vue | 8 +------- .../components/content_value/ContentValueHash.vue | 2 +- .../components/content_value/ContentValueList.vue | 2 +- .../components/content_value/ContentValueSet.vue | 2 +- .../content_value/ContentValueStream.vue | 2 +- .../content_value/ContentValueString.vue | 8 ++++---- .../components/content_value/ContentValueZSet.vue | 2 +- .../src/components/dialogs/ConnectionDialog.vue | 8 +++++--- .../src/components/dialogs/DeleteKeyDialog.vue | 11 ++++++++--- .../src/components/dialogs/KeyFilterDialog.vue | 2 +- frontend/src/components/dialogs/NewKeyDialog.vue | 4 +++- frontend/src/components/dialogs/SetTtlDialog.vue | 6 +++--- frontend/src/stores/tab.js | 2 +- 18 files changed, 40 insertions(+), 47 deletions(-) delete mode 100644 frontend/src/components/common/Toolbar.vue diff --git a/frontend/src/AppContent.vue b/frontend/src/AppContent.vue index 0a904ca..7e9652d 100644 --- a/frontend/src/AppContent.vue +++ b/frontend/src/AppContent.vue @@ -133,7 +133,11 @@ watch( -
+
diff --git a/frontend/src/components/common/IconButton.vue b/frontend/src/components/common/IconButton.vue index 5867125..81df265 100644 --- a/frontend/src/components/common/IconButton.vue +++ b/frontend/src/components/common/IconButton.vue @@ -32,7 +32,7 @@ const hasTooltip = computed(() => {