From e0f81517dc835d97219a0f3a9ebf48ddf2c99ff0 Mon Sep 17 00:00:00 2001 From: "Oliver.Ke" Date: Tue, 19 Mar 2024 15:47:12 +0800 Subject: [PATCH] =?UTF-8?q?BI-145126=20fix:=20DownListCombo=E7=9A=84isDefa?= =?UTF-8?q?ultInit=E9=BB=98=E8=AE=A4=E5=80=BC=E8=AE=BE=E7=BD=AE=E4=B8=BAfa?= =?UTF-8?q?lse?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fineui/src/widget/downlist/combo.downlist.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/fineui/src/widget/downlist/combo.downlist.js b/packages/fineui/src/widget/downlist/combo.downlist.js index 4b8a9294b..005c403ec 100644 --- a/packages/fineui/src/widget/downlist/combo.downlist.js +++ b/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 { Combo } from "@/base"; import { IconTrigger } from "@/case"; @@ -52,7 +52,7 @@ export class DownListCombo extends Widget { minWidth: 140, maxHeight: 1000, 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.downlistcombo.hideView(); }, - } + }, ], }, stopPropagation: o.stopPropagation,