This commit is contained in:
hucong 2021-11-23 15:04:34 +08:00
parent 36683ad69b
commit fd4046af04
1 changed files with 0 additions and 5 deletions

View File

@ -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 (
<div className="newMain newTable clearfix">