From 194775bd536dcb223e01d25b890ef6b27e3f76c8 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Wed, 7 Dec 2022 12:26:54 +0800 Subject: [PATCH] perf: optimize the issue of animation when switching setting tabs (halo-dev/console#748) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #### What type of PR is this? /kind improvement #### What this PR does / why we need it: 优化主题和插件详情页面切换 tab 时的页面闪动问题。 #### Which issue(s) this PR fixes: Fixes https://github.com/halo-dev/halo/issues/2856 #### Special notes for your reviewer: 测试方式:检查在主题和插件详情页面是否还存在 https://github.com/halo-dev/halo/issues/2856 中提到的问题。 #### Does this PR introduce a user-facing change? ```release-note 优化 Console 端的主题和插件详情页面切换选项卡时的页面闪动问题。 ``` --- src/modules/interface/themes/ThemeDetail.vue | 2 +- src/modules/interface/themes/ThemeSetting.vue | 2 +- src/modules/system/plugins/PluginDetail.vue | 2 +- src/modules/system/plugins/PluginSetting.vue | 2 +- src/modules/system/settings/SystemSetting.vue | 53 +++++++++---------- .../settings/layouts/SystemSettingsLayout.vue | 14 ++--- 6 files changed, 36 insertions(+), 39 deletions(-) diff --git a/src/modules/interface/themes/ThemeDetail.vue b/src/modules/interface/themes/ThemeDetail.vue index 775a8e80e..c33afc911 100644 --- a/src/modules/interface/themes/ThemeDetail.vue +++ b/src/modules/interface/themes/ThemeDetail.vue @@ -55,7 +55,7 @@ const onUpgradeModalClose = () => {