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
|
@@ -11173,6 +11173,7 @@ var CustomerService = function(props) {
|
|
|
11173
11173
|
value: keyWord,
|
|
11174
11174
|
onChange: function(e) {
|
|
11175
11175
|
setKeyWord(e.target.value);
|
|
11176
|
+
var value = e.target.value;
|
|
11176
11177
|
if (e.target.value == "") {
|
|
11177
11178
|
setQuestionsList([]);
|
|
11178
11179
|
clearTimeout(timer.current);
|
|
@@ -11180,9 +11181,9 @@ var CustomerService = function(props) {
|
|
|
11180
11181
|
clearTimeout(timer.current);
|
|
11181
11182
|
timer.current = setTimeout(function() {
|
|
11182
11183
|
if (config && config.type == "video") {
|
|
11183
|
-
getQuestiionsList(String(
|
|
11184
|
+
getQuestiionsList(String(value), 3);
|
|
11184
11185
|
} else {
|
|
11185
|
-
getQuestiionsList(String(
|
|
11186
|
+
getQuestiionsList(String(value), 2);
|
|
11186
11187
|
}
|
|
11187
11188
|
}, 1000);
|
|
11188
11189
|
}
|