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.
- package/dist/index.esm.es5.development.js +3 -2
- package/dist/index.esm.es5.production.js +1 -1
- package/dist/vendor.esm.es5.development.js +1 -1
- package/dist/vendor.esm.es5.production.js +1 -1
- package/es2017/customerService/index.js +3 -2
- package/esm/customerService/index.js +3 -2
- package/package.json +1 -1
|
@@ -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(
|
|
3028
|
+
getQuestiionsList(String(value), 3);
|
|
3028
3029
|
} else {
|
|
3029
|
-
getQuestiionsList(String(
|
|
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(
|
|
3145
|
+
getQuestiionsList(String(value), 3);
|
|
3145
3146
|
} else {
|
|
3146
|
-
getQuestiionsList(String(
|
|
3147
|
+
getQuestiionsList(String(value), 2);
|
|
3147
3148
|
}
|
|
3148
3149
|
}, 1000);
|
|
3149
3150
|
}
|