kulley 6 년 전
부모
커밋
3eeb47e714
1개의 변경된 파일11개의 추가작업 그리고 2개의 파일을 삭제
  1. 11 2
      src/pages/my/manage/orders/index.js

+ 11 - 2
src/pages/my/manage/orders/index.js

@@ -78,7 +78,7 @@ class Search extends Component {
         this.autoFocusInst.focus();
     }
 
-    onChange= (value) => {
+    onChange = (value) => {
         this.setState({ value });
     };
 
@@ -105,7 +105,16 @@ class SearchQuery extends Component {
         this.state = {
 
         }
-        console.log('mount / mount again')
+        console.log('mount')
+    }
+
+    componentWillMount() {
+        console.log('componentWillMount')
+    }
+
+    componentWillReceiveProps(next) {
+        console.log(next)
+        console.log('componentWillReceiveProps')
     }
 
     render() {