kulley %!s(int64=6) %!d(string=hai) anos
pai
achega
3eeb47e714
Modificáronse 1 ficheiros con 11 adicións e 2 borrados
  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() {