|
@ -51,7 +51,6 @@ const LayoutContainer = props => { |
|
|
NProgress.done(); |
|
|
NProgress.done(); |
|
|
console.log(user, authCrossLoading, props); |
|
|
console.log(user, authCrossLoading, props); |
|
|
if ((!user || !user.authorized) && !authCrossLoading && props.location.pathname != '/video_play_status') { |
|
|
if ((!user || !user.authorized) && !authCrossLoading && props.location.pathname != '/video_play_status') { |
|
|
console.log(123123); |
|
|
|
|
|
history.push('/signin'); |
|
|
history.push('/signin'); |
|
|
} |
|
|
} |
|
|
if (msg) { |
|
|
if (msg) { |
|
|