Commit f8a27565 authored by SkyAo's avatar SkyAo Committed by hetech

ColorPicker: add immediate watcher for currentColor (#13278)

parent bdc93636
...@@ -109,8 +109,11 @@ ...@@ -109,8 +109,11 @@
} }
}, },
currentColor(val) { currentColor: {
this.customInput = val; immediate: true,
handler(val) {
this.customInput = val;
}
} }
} }
}; };
......
...@@ -165,6 +165,7 @@ ...@@ -165,6 +165,7 @@
enableAlpha: this.showAlpha, enableAlpha: this.showAlpha,
format: this.colorFormat format: this.colorFormat
}); });
return { return {
color, color,
showPicker: false, showPicker: false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment