🎨 add eslint

This commit is contained in:
jingsam 2016-12-25 22:49:42 +08:00
parent 829a2e4cfc
commit b0893113b3
88 changed files with 376 additions and 370 deletions

View file

@ -33,7 +33,7 @@
[`${prefixCls}-${this.size}`]: !!this.size,
[`${prefixCls}-${this.type}`]: !!this.type
}
]
];
}
},
compiled () {
@ -55,8 +55,8 @@
},
watch: {
model () {
this.updateModel()
this.updateModel();
}
}
}
</script>
};
</script>

View file

@ -32,7 +32,7 @@
return {
selected: false,
group: false
}
};
},
computed: {
wrapClasses () {
@ -43,7 +43,7 @@
[`${prefixCls}-wrapper-checked`]: this.selected,
[`${prefixCls}-wrapper-disabled`]: this.disabled
}
]
];
},
radioClasses () {
return [
@ -52,7 +52,7 @@
[`${prefixCls}-checked`]: this.selected,
[`${prefixCls}-disabled`]: this.disabled
}
]
];
},
innerClasses () {
return `${prefixCls}-inner`;
@ -91,5 +91,5 @@
this.updateModel();
}
}
}
</script>
};
</script>