|
@@ -59,7 +59,7 @@ class NavigationGuards extends Component<NavigationGuardsProps, any> {
|
|
|
|
|
|
componentDidMount() {
|
|
componentDidMount() {
|
|
this.changDocumentTitle(this.props.location.pathname)
|
|
this.changDocumentTitle(this.props.location.pathname)
|
|
- userStore.check(location?.pathname)
|
|
|
|
|
|
+ userStore.check(this.props.location.pathname)
|
|
}
|
|
}
|
|
// shouldComponentUpdate(nextProps: any) {
|
|
// shouldComponentUpdate(nextProps: any) {
|
|
|
|
|