bhd-components 0.9.25 → 0.9.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3017,6 +3017,7 @@ const CustomerService = (props)=>{
3017
3017
  value: keyWord,
3018
3018
  onChange: (e)=>{
3019
3019
  setKeyWord(e.target.value);
3020
+ let value = e.target.value;
3020
3021
  if (e.target.value == "") {
3021
3022
  setQuestionsList([]);
3022
3023
  clearTimeout(timer.current);
@@ -3024,9 +3025,9 @@ const CustomerService = (props)=>{
3024
3025
  clearTimeout(timer.current);
3025
3026
  timer.current = setTimeout(()=>{
3026
3027
  if (config && config.type == 'video') {
3027
- getQuestiionsList(String(e.target.value), 3);
3028
+ getQuestiionsList(String(value), 3);
3028
3029
  } else {
3029
- getQuestiionsList(String(e.target.value), 2);
3030
+ getQuestiionsList(String(value), 2);
3030
3031
  }
3031
3032
  }, 1000);
3032
3033
  }
@@ -3134,6 +3134,7 @@ var CustomerService = function(props) {
3134
3134
  value: keyWord,
3135
3135
  onChange: function(e) {
3136
3136
  setKeyWord(e.target.value);
3137
+ var value = e.target.value;
3137
3138
  if (e.target.value == "") {
3138
3139
  setQuestionsList([]);
3139
3140
  clearTimeout(timer.current);
@@ -3141,9 +3142,9 @@ var CustomerService = function(props) {
3141
3142
  clearTimeout(timer.current);
3142
3143
  timer.current = setTimeout(function() {
3143
3144
  if (config && config.type == "video") {
3144
- getQuestiionsList(String(e.target.value), 3);
3145
+ getQuestiionsList(String(value), 3);
3145
3146
  } else {
3146
- getQuestiionsList(String(e.target.value), 2);
3147
+ getQuestiionsList(String(value), 2);
3147
3148
  }
3148
3149
  }, 1000);
3149
3150
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bhd-components",
3
- "version": "0.9.25",
3
+ "version": "0.9.26",
4
4
  "description": "组件功能描述",
5
5
  "config": {
6
6
  "commitizen": {