From 400fee62fb40006a9839f1c3a8244b82566b5057 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 08 五月 2025 16:30:39 +0800
Subject: [PATCH] Merge branch 'develop'

---
 src/components/header/index.jsx |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/components/header/index.jsx b/src/components/header/index.jsx
index 1a792aa..7c11089 100644
--- a/src/components/header/index.jsx
+++ b/src/components/header/index.jsx
@@ -148,8 +148,10 @@
       cancelText: dict['cancel'] || '鍙栨秷',
       onOk() {
         sessionStorage.clear()
-        that.props.history.replace('/login')
-        window.location.reload()
+        setTimeout(() => {
+          that.props.history.replace('/login')
+          window.location.reload()
+        }, 100)
       },
       onCancel() {}
     })

--
Gitblit v1.8.0