From 1a176e4bdba485301385caac1a29102e598d25cc Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 13 五月 2025 11:32:02 +0800 Subject: [PATCH] 2025-05-13 --- 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 5649904..187b7fa 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