From 18f1b976c6ca5b19826b08b0e12dfc1167d7d2c2 Mon Sep 17 00:00:00 2001 From: Lykin <137850705+tiny-craft@users.noreply.github.com> Date: Wed, 3 Jan 2024 10:57:46 +0800 Subject: [PATCH] refactor: replace some 'watch' with 'watchEffect' --- frontend/src/AppContent.vue | 15 +++---- .../components/dialogs/AddFieldsDialog.vue | 29 ++++++------- .../components/dialogs/DeleteKeyDialog.vue | 42 +++++++++---------- .../src/components/dialogs/FlushDbDialog.vue | 26 ++++++------ .../src/components/dialogs/GroupDialog.vue | 15 +++---- .../components/dialogs/KeyFilterDialog.vue | 24 +++++------ .../src/components/dialogs/NewKeyDialog.vue | 39 ++++++++--------- .../components/dialogs/RenameKeyDialog.vue | 24 +++++------ .../src/components/dialogs/SetTtlDialog.vue | 37 ++++++++-------- 9 files changed, 114 insertions(+), 137 deletions(-) diff --git a/frontend/src/AppContent.vue b/frontend/src/AppContent.vue index 1f7faf9..83e75dd 100644 --- a/frontend/src/AppContent.vue +++ b/frontend/src/AppContent.vue @@ -1,7 +1,7 @@