From 6ecfc9482e1dc4c423a4e0b184933750997f80d2 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 28 四月 2025 23:08:13 +0800 Subject: [PATCH] 2025-04-28 --- 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