Commit 41110ab9 authored by 邓晓峰's avatar 邓晓峰

fix: 修复退出登录

parent ab440bde
Pipeline #39161 skipped with stages
......@@ -30,7 +30,7 @@ class SecurityLayout extends React.Component {
if(_.isNull(global.token) || (global.hasGateWay && _.isNull(global.access_token))) {
this.props.updateCurrentIndex && this.props.updateCurrentIndex(0);
debugger
const client = global.client !== 'undefined' || !_.isNull(global.client) || !_.isUndefined(global.client) ? global.client: 'city';
return (
<Redirect to={`/user/login?client=${client}`} />
......
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