mirror of https://github.com/ElemeFE/element
ColorPicker: prevent active-change event when picker is closed (#11304)
parent
bcfb1d3c71
commit
1fe51c9295
|
@ -96,6 +96,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
displayedColor(val) {
|
displayedColor(val) {
|
||||||
|
if (!this.showPicker) return;
|
||||||
const currentValueColor = new Color({
|
const currentValueColor = new Color({
|
||||||
enableAlpha: this.showAlpha,
|
enableAlpha: this.showAlpha,
|
||||||
format: this.colorFormat
|
format: this.colorFormat
|
||||||
|
|
Loading…
Reference in New Issue