Commit 1113e39c authored by Sixiang_Zzb's avatar Sixiang_Zzb

登录bug修复

parent 5377ba07
...@@ -88,7 +88,7 @@ class SecurityLayout extends React.Component<SecurityLayoutProps, SecurityLayout ...@@ -88,7 +88,7 @@ class SecurityLayout extends React.Component<SecurityLayoutProps, SecurityLayout
// 登录 // 登录
if (history.location.pathname == '/') { if (history.location.pathname == '/') {
const isLogin = false; let isLogin = false;
if (getCookie('token').length !== 0) { if (getCookie('token').length !== 0) {
isLogin = true; isLogin = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment