Browse Source

Merge pull request #257554 in DEC/fineui from master to feature/x

* commit '5a7a8f8d9085f1fd8ce096fb18347e9c8d1f5114':
  BI-139874 fix: 【6016】数据集编辑过滤下拉框,搜索内容带了个回车,前端会一直显示加载中
research/test
superman 1 year ago
parent
commit
4b12442d6b
  1. 17
      packages/fineui/src/widget/multiselect/trigger/searcher.multiselect.insert.js

17
packages/fineui/src/widget/multiselect/trigger/searcher.multiselect.insert.js

@ -1,4 +1,17 @@
import { shortcut, Widget, extend, emptyFn, i18nText, createWidget, isNotNull, isEmptyArray, size, each, BlankSplitChar, Selection } from "@/core";
import {
shortcut,
Widget,
extend,
emptyFn,
i18nText,
createWidget,
isNotNull,
isEmptyArray,
size,
each,
BlankSplitChar,
Selection
} from "@/core";
import { MultiSelectEditor } from "./editor.multiselect";
import { Searcher } from "@/base";
import { MultiSelectSearchInsertPane } from "../search/multiselect.search.insert.pane";
@ -80,7 +93,7 @@ export class MultiSelectInsertSearcher extends Widget {
op.keywords = [keyword];
this.setKeyword(keyword);
o.itemsCreator(op, function () {
if (keyword === self.editor.getValue()) {
if (keyword === self.editor.getKeyword()) {
callback(...arguments);
}
});

Loading…
Cancel
Save