Browse Source

BI-128204 fix: 【6.0.12发散】自适应布局及内容缩放下,缩小浏览器窗口,过滤查看已选下方异常

es6
zsmj 1 year ago
parent
commit
fd3d8bd77d
  1. 6
      packages/fineui/src/base/combination/searcher.js

6
packages/fineui/src/base/combination/searcher.js

@ -17,7 +17,8 @@ import {
BlankSplitChar, BlankSplitChar,
Events, Events,
EVENT_RESPONSE_TIME, EVENT_RESPONSE_TIME,
Func Func,
isFunction,
} from "@/core"; } from "@/core";
import { ButtonGroup } from "./group.button"; import { ButtonGroup } from "./group.button";
import { Maskers } from "@/base/0.base"; import { Maskers } from "@/base/0.base";
@ -127,7 +128,8 @@ export class Searcher extends Widget {
} }
_assertPopupView() { _assertPopupView() {
const { masker, popup, chooseType, isAutoSync, adapter } = this.options; const { masker, popup, chooseType, isAutoSync } = this.options;
const adapter = isFunction(this.options.adapter) ? this.options.adapter() : this.options.adapter;
if ((masker && !Maskers.has(this.getName())) || (masker === false && !this.popupView)) { if ((masker && !Maskers.has(this.getName())) || (masker === false && !this.popupView)) {
this.popupView = createWidget(popup, { this.popupView = createWidget(popup, {
type: SearcherView.xtype, type: SearcherView.xtype,

Loading…
Cancel
Save