diff --git a/src/modules/403/Shixunauthority.js b/src/modules/403/Shixunauthority.js index 50f5d3f42..6fa02bbe0 100644 --- a/src/modules/403/Shixunauthority.js +++ b/src/modules/403/Shixunauthority.js @@ -11,11 +11,6 @@ import { TPMIndexHOC } from '../tpm/TPMIndexHOC'; import { SnackbarHOC,getImageUrl } from 'educoder'; class Shixunauthority extends Component { - componentWillUnmount(){ - if (!user.isLogin()) { - this.props.history.push('/login', null); - } - } render() { return (