diff --git a/src/layouts/modules/global-content/index.vue b/src/layouts/modules/global-content/index.vue
index ef40088e4..8c7b7f454 100644
--- a/src/layouts/modules/global-content/index.vue
+++ b/src/layouts/modules/global-content/index.vue
@@ -1,4 +1,5 @@
{
async function reloadPage(duration = 300) {
setReloadFlag(false);
- if (duration > 0) {
- await new Promise(resolve => {
- setTimeout(resolve, duration);
- });
- }
+ const d = themeStore.page.animate ? duration : 40;
+
+ await new Promise(resolve => {
+ setTimeout(resolve, d);
+ });
setReloadFlag(true);
}