Browse Source

无jira任务 提供样式设置

es6
imp 2 years ago
parent
commit
c6c0ca50cf
  1. 2
      src/case/colorchooser/colorchooser.js
  2. 1
      src/case/colorchooser/colorchooser.simple.js

2
src/case/colorchooser/colorchooser.js

@ -13,6 +13,7 @@ BI.ColorChooser = BI.inherit(BI.Widget, {
value: "",
height: 24,
el: {},
simple: false
});
},
@ -30,6 +31,7 @@ BI.ColorChooser = BI.inherit(BI.Widget, {
isNeedAdjustHeight: false,
el: BI.extend({
type: o.width <= 24 ? "bi.color_chooser_trigger" : "bi.long_color_chooser_trigger",
simple: o.simple,
ref: function (_ref) {
self.trigger = _ref;
},

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

@ -20,6 +20,7 @@ BI.SimpleColorChooser = BI.inherit(BI.Widget, {
this.combo = BI.createWidget({
type: "bi.color_chooser",
simple: o.simple,
element: this,
container: o.container,
value: o.value,

Loading…
Cancel
Save