From fd4046af0428c4e3b833b2d0005d279d5bcc54c0 Mon Sep 17 00:00:00 2001 From: hucong <1422588487@qq.com> Date: Tue, 23 Nov 2021 15:04:34 +0800 Subject: [PATCH] issue --- src/modules/403/Shixunauthority.js | 5 ----- 1 file changed, 5 deletions(-) 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 (