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,
container: o.container,
adjustLength: 1,
destroyWhenHide: o.destroyWhenHide,
isNeedAdjustWidth: false,
isNeedAdjustHeight: false,
el: BI.extend({

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

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

Loading…
Cancel
Save