forked from Gitlink/forgeplus-react
issue
This commit is contained in:
parent
36683ad69b
commit
fd4046af04
|
@ -11,11 +11,6 @@ import { TPMIndexHOC } from '../tpm/TPMIndexHOC';
|
||||||
import { SnackbarHOC,getImageUrl } from 'educoder';
|
import { SnackbarHOC,getImageUrl } from 'educoder';
|
||||||
|
|
||||||
class Shixunauthority extends Component {
|
class Shixunauthority extends Component {
|
||||||
componentWillUnmount(){
|
|
||||||
if (!user.isLogin()) {
|
|
||||||
this.props.history.push('/login', null);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<div className="newMain newTable clearfix">
|
<div className="newMain newTable clearfix">
|
||||||
|
|
Loading…
Reference in New Issue