From b6c698c8833836971184a0a9c2645a15f8174d37 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 08 五月 2025 16:31:18 +0800 Subject: [PATCH] Merge branch 'master' into positec --- 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