Browse Source

BI-145126 fix: DownListCombo的isDefaultInit默认值设置为false

research/test
Oliver.Ke 8 months ago
parent
commit
e0f81517dc
  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