update ColorPicker

This commit is contained in:
梁灏 2017-08-21 16:28:04 +08:00
parent 7863e90792
commit 8dab987ec7
2 changed files with 9 additions and 1 deletions

View file

@ -215,6 +215,7 @@
},
set (newVal) {
this.val = newVal;
this.$emit('on-active-change', this.formatColor);
}
},
classes () {
@ -347,6 +348,7 @@
},
handleClear () {
this.$emit('input', '');
this.$emit('on-change', '');
this.handleClose();
},
handleSelectColor (color) {