yee 7 anos atrás
pai
commit
1c7ba7993d

+ 5 - 0
js/component/portal/search/achievement.jsx

@@ -179,6 +179,11 @@ const Content = React.createClass({
         this.state.categoryRadio = theCategoryArr;
         this.state.transferModeRadio = theTransferModeArr;
         this.state.maturityRadio = theMaturityArr;
+
+        if (window.location.search) {
+            this.state.keyword = window.location.search;
+        };
+
         this.loadData();
     },
     industryChange(e) {

+ 3 - 0
js/component/portal/search/demand.jsx

@@ -159,6 +159,9 @@ const Content = React.createClass({
         });
         this.state.industryRadioA = theArr;
         this.state.demandTypeRadio = demandArr;
+        if (window.location.search) {
+            this.state.keyword = window.location.search;
+        };
         this.loadData();
     },
     industryChange(e) {

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "afanti",
-  "version": "1.0.31",
+  "version": "1.0.32",
   "description": "",
   "main": "index.js",
   "scripts": {