소스 검색

feat: 111

lanjianrong 3 년 전
부모
커밋
86a99b044d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/Navigation/index.tsx

+ 1 - 1
src/components/Navigation/index.tsx

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