Commit 5fc7e188 authored by pengchongfu's avatar pengchongfu Committed by 杨奕

ColorPicker: empty value by v-model, fix #4662

parent 7adb556e
......@@ -59,7 +59,9 @@
watch: {
value(val) {
if (val && val !== this.color.value) {
if (!val) {
this.showPanelColor = false;
} else if (val && val !== this.color.value) {
this.color.fromString(val);
}
},
......
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