From c213e1cabd4f0197bebd7aba846c1d038674ea55 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 07 六月 2023 21:03:48 +0800 Subject: [PATCH] 2023-06-07 --- src/views/login/index.jsx | 9 +-------- 1 files changed, 1 insertions(+), 8 deletions(-) diff --git a/src/views/login/index.jsx b/src/views/login/index.jsx index 7a312ba..fdd4c56 100644 --- a/src/views/login/index.jsx +++ b/src/views/login/index.jsx @@ -871,14 +871,7 @@ } } - let _history = sessionStorage.getItem('history') - if (_history) { - sessionStorage.removeItem('history') - // 鏌ョ湅鏄惁涓哄叾浠栭〉闈㈣烦杞紝璺緞瀛樺湪鏃讹紝璺冲洖鍘熼〉闈� - this.props.history.replace(_history) - } else { - this.props.history.replace('/main') - } + this.props.history.replace('/main') } else { notification.warning({ top: 92, -- Gitblit v1.8.0