mirror of https://github.com/ElemeFE/element
ColorPicker: add immediate watcher for currentColor (#13278)
parent
bdc9363635
commit
f8a27565b0
|
@ -109,8 +109,11 @@
|
|||
}
|
||||
},
|
||||
|
||||
currentColor(val) {
|
||||
this.customInput = val;
|
||||
currentColor: {
|
||||
immediate: true,
|
||||
handler(val) {
|
||||
this.customInput = val;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
@ -165,6 +165,7 @@
|
|||
enableAlpha: this.showAlpha,
|
||||
format: this.colorFormat
|
||||
});
|
||||
|
||||
return {
|
||||
color,
|
||||
showPicker: false,
|
||||
|
|
Loading…
Reference in New Issue