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

ColorPicker: add immediate watcher for currentColor (#13278)

parent bdc93636
...@@ -109,9 +109,12 @@ ...@@ -109,9 +109,12 @@
} }
}, },
currentColor(val) { currentColor: {
immediate: true,
handler(val) {
this.customInput = val; this.customInput = val;
} }
} }
}
}; };
</script> </script>
...@@ -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