Browse Source

BI-85228 fix:color_chooser增加可设置属性

es6
Tangjinxia 3 years ago
parent
commit
7f4fb58605
  1. 1
      src/case/colorchooser/colorchooser.js
  2. 1
      src/case/colorchooser/colorchooser.simple.js

1
src/case/colorchooser/colorchooser.js

@ -25,6 +25,7 @@ BI.ColorChooser = BI.inherit(BI.Widget, {
element: this, element: this,
container: o.container, container: o.container,
adjustLength: 1, adjustLength: 1,
destroyWhenHide: o.destroyWhenHide,
isNeedAdjustWidth: false, isNeedAdjustWidth: false,
isNeedAdjustHeight: false, isNeedAdjustHeight: false,
el: BI.extend({ el: BI.extend({

1
src/case/colorchooser/colorchooser.simple.js

@ -25,6 +25,7 @@ BI.SimpleColorChooser = BI.inherit(BI.Widget, {
value: o.value, value: o.value,
width: o.width, width: o.width,
height: o.height, height: o.height,
destroyWhenHide: o.destroyWhenHide,
popup: { popup: {
type: "bi.simple_hex_color_chooser_popup", type: "bi.simple_hex_color_chooser_popup",
recommendColorsGetter: o.recommendColorsGetter, recommendColorsGetter: o.recommendColorsGetter,

Loading…
Cancel
Save