misc doc updates

This commit is contained in:
Leopoldthecoder
2016-09-12 13:53:45 +08:00
parent 001584e4ab
commit 0dba1da935
8 changed files with 30 additions and 52 deletions

View File

@@ -84,12 +84,12 @@
}
},
watch: {
value() {
value(val) {
if (this.onColor || this.offColor) {
this.handleCoreColor();
}
this.handleButtonTransform();
this.$emit('change');
this.$emit('change', val);
}
},
methods: {