Browse Source

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

* commit '0ef435abeda0408e8f78c4a13fc194107e50d728':
  BI-145126 fix: DownListCombo的isDefaultInit默认值设置为false
master
superman 8 months ago
parent
commit
039b54b9c3
  1. 6
      packages/fineui/src/widget/downlist/combo.downlist.js

6
packages/fineui/src/widget/downlist/combo.downlist.js

@ -1,4 +1,4 @@
import { shortcut, Widget, extend, createWidget, cloneDeep, some, isArray, each } from "@/core"; import { cloneDeep, createWidget, each, extend, isArray, shortcut, some, Widget } from "@/core";
import { DownListPopup } from "./popup.downlist"; import { DownListPopup } from "./popup.downlist";
import { Combo } from "@/base"; import { Combo } from "@/base";
import { IconTrigger } from "@/case"; import { IconTrigger } from "@/case";
@ -52,7 +52,7 @@ export class DownListCombo extends Widget {
minWidth: 140, minWidth: 140,
maxHeight: 1000, maxHeight: 1000,
destroyWhenHide: false, destroyWhenHide: false,
isDefaultInit: true, isDefaultInit: false,
}); });
} }
@ -102,7 +102,7 @@ export class DownListCombo extends Widget {
this.fireEvent(DownListCombo.EVENT_SON_VALUE_CHANGE, value, fatherValue); this.fireEvent(DownListCombo.EVENT_SON_VALUE_CHANGE, value, fatherValue);
this.downlistcombo.hideView(); this.downlistcombo.hideView();
}, },
} },
], ],
}, },
stopPropagation: o.stopPropagation, stopPropagation: o.stopPropagation,

Loading…
Cancel
Save