Browse Source

Pull request #3697: BI-139874 fix: 【6016】数据集编辑过滤下拉框,搜索内容带了个回车,前端会一直显示加载中

Merge in VISUAL/fineui from ~DAILER/fineui:master to master

* commit 'f0ebcbb2aad83402f7c9e6453fc0b37db3bae96e':
  BI-139874 fix: 【6016】数据集编辑过滤下拉框,搜索内容带了个回车,前端会一直显示加载中
research/test
Dailer-刘荣歆 12 months ago
parent
commit
5a7a8f8d90
  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