Browse Source

未展开的popup,setValue后不会改变选中状态

research/test
guyi 1 year ago
parent
commit
1630eb36a1
  1. 1
      packages/fineui/src/base/combination/bubble.js

1
packages/fineui/src/base/combination/bubble.js

@ -520,6 +520,7 @@ export class Bubble extends Widget {
this.combo.setValue(v); this.combo.setValue(v);
if (isNull(this.popupView)) { if (isNull(this.popupView)) {
this.options.popup.value = v; this.options.popup.value = v;
!isNull(this.options.popup.el) && (this.options.popup.el.value = v);
} else { } else {
this.popupView.setValue(v); this.popupView.setValue(v);
} }

Loading…
Cancel
Save