From c447f2cdf07ddf2f132cb4b18103198509af0fcf Mon Sep 17 00:00:00 2001 From: tiny-craft <137850705+tiny-craft@users.noreply.github.com> Date: Wed, 19 Jul 2023 18:41:04 +0800 Subject: [PATCH] perf: add loading state in preferences dialog --- .../components/dialogs/PreferencesDialog.vue | 146 ++++++++++-------- 1 file changed, 81 insertions(+), 65 deletions(-) diff --git a/frontend/src/components/dialogs/PreferencesDialog.vue b/frontend/src/components/dialogs/PreferencesDialog.vue index 9d6e994..97396e2 100644 --- a/frontend/src/components/dialogs/PreferencesDialog.vue +++ b/frontend/src/components/dialogs/PreferencesDialog.vue @@ -67,78 +67,94 @@ const onClose = () => { preset="dialog" transform-origin="center" > - - - - - - - {{ opt.label }} - - - - - - - - - - - - - - - - {{ $t('use_system_proxy') }} + + + + + + + + {{ opt.label }} + + + + + + + + + + + + + + + + {{ $t('use_system_proxy') }} + + + {{ $t('use_system_proxy_http') }} + + + + + + {{ $t('auto_check_update') }} - - {{ $t('use_system_proxy_http') }} - - - - - - {{ $t('auto_check_update') }} - - - - + + + - - - - - - - - - - - + + + + + + + + + + + +