Browse Source

BI-82620 fix: 自定义trigger的不额外处理宽高

es6
windy 4 years ago
parent
commit
9fa1d9327a
  1. 4
      src/case/colorchooser/colorchooser.js

4
src/case/colorchooser/colorchooser.js

@ -32,8 +32,8 @@ BI.ColorChooser = BI.inherit(BI.Widget, {
ref: function (_ref) {
self.trigger = _ref;
},
width: o.width - 2,
height: o.height - 2
width: o.el.type ? o.width : o.width - 2,
height: o.el.type ? o.height : o.height - 2
}, o.el),
popup: {
el: BI.extend({

Loading…
Cancel
Save