Browse Source

Pull request #1817: BI-82620 fix: color_chooser自定义trigger的不额外处理宽高

Merge in VISUAL/fineui from ~WINDY/fui:master to master

* commit '9fa1d9327a295f036dd0d21dcb04921e21f8c3e0':
  BI-82620 fix: 自定义trigger的不额外处理宽高
es6
windy 4 years ago
parent
commit
7750012b20
  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