Browse Source

Pull request #3738: BI-145126 fix: DownListCombo的isDefaultInit默认值设置为false

Merge in VISUAL/fineui from ~OLIVER.KE/fineui:master to master

* commit 'e0f81517dc835d97219a0f3a9ebf48ddf2c99ff0':
  BI-145126 fix: DownListCombo的isDefaultInit默认值设置为false
research/test
Oliver.Ke-柯键基 8 months ago
parent
commit
0ef435abed
  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