feat: add tests && fix bugs

This commit is contained in:
jiangruowei
2017-04-06 15:11:29 +08:00
parent a85c3c2695
commit a32142c723
9 changed files with 216 additions and 46 deletions
-1
View File
@@ -62,7 +62,6 @@ export default {
*/
toggleState: function() {
if (this.disabled || this.loading) return;
console.log('d');
if (this.onChange) {
this.onChange(!this.checked);
} else {