This commit is contained in:
syuilo 2018-03-05 20:09:26 +09:00
parent db1c211322
commit ab0b650696
4 changed files with 48 additions and 11 deletions

View file

@ -56,6 +56,7 @@ export default Vue.extend({
},
watch: {
value() {
(this.$el).style.transition = 'all 0.3s';
(this.$refs.input as any).checked = this.checked;
}
},