This commit is contained in:
梁灏 2018-12-20 16:37:30 +08:00
parent 2b6e6d4c90
commit 5776bcbf06
2 changed files with 17 additions and 1 deletions

View file

@ -137,6 +137,11 @@
this.$emit('on-change', checked, this.name);
}
}
},
watch: {
checked (val) {
this.isChecked = val;
}
}
};
</script>