Browse Source

BI-77248 fix: 无透明和自动时设置透明的问题

master
windy 4 years ago
parent
commit
44cb6b6deb
  1. 2
      src/case/colorchooser/colorpicker/editor.colorpicker.hex.simple.js

2
src/case/colorchooser/colorpicker/editor.colorpicker.hex.simple.js

@ -181,7 +181,7 @@ BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
this.R.setValue(BI.isNull(json.r) ? "" : json.r);
this.G.setValue(BI.isNull(json.g) ? "" : json.g);
this.B.setValue(BI.isNull(json.b) ? "" : json.b);
this.hexEditor.setValue(color.slice(this.constants.HEX_PREFIX_POSITION));
this.hexEditor.setValue(BI.isEmptyObject(json) ? "" : color.slice(this.constants.HEX_PREFIX_POSITION));
},
getValue: function () {

Loading…
Cancel
Save