Browse Source

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

es6
Tangjinxia 3 years ago
parent
commit
e4114f9dce
  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