Browse Source

feature: searcher只使能最后一次搜索的值

es6
guy 2 years ago
parent
commit
f71f886710
  1. 2
      src/base/combination/searcher.js

2
src/base/combination/searcher.js

@ -183,7 +183,7 @@ BI.Searcher = BI.inherit(BI.Widget, {
keyword: keyword,
selectedValues: o.adapter && o.adapter.getValue()
}, function (searchResult, matchResult) {
if (!self._stop) {
if (!self._stop && keyword === self.editor.getValue()) {
var args = [].slice.call(arguments);
if (args.length > 0) {
args.push(keyword);

Loading…
Cancel
Save