Browse Source

Pull request #2137: CHART-20479 fix:颜色超过12时截取前12个展示

Merge in VISUAL/fineui from ~CLAIRE.TANG/fineui:master to master

* commit '328e16598a53839bb6fbfab2a444e1c2456e46a6':
  CHART-20479 fix:颜色超过12时截取前12个展示
es6
Claire.Tang 3 years ago
parent
commit
2511e3a9be
  1. 2
      src/case/colorchooser/colorchooser.popup.hex.js

2
src/case/colorchooser/colorchooser.popup.hex.js

@ -237,7 +237,7 @@ BI.HexColorChooserPopup = BI.inherit(BI.Widget, {
}, },
_digestStoreColors: function (colors) { _digestStoreColors: function (colors) {
var items = BI.map(colors, function (i, color) { var items = BI.map(colors.slice(0, 12), function (i, color) {
return { return {
value: color value: color
}; };

Loading…
Cancel
Save