radio component

This commit is contained in:
cookfront
2017-02-28 15:13:57 +08:00
parent 36e1710e33
commit 5de064caf4
6 changed files with 73 additions and 26 deletions
+8 -1
View File
@@ -9,7 +9,14 @@ export default {
name: 'z-radio-group',
props: {
value: [String, Number]
value: {},
disabled: Boolean
},
watch: {
value(value) {
this.$emit('change', value);
}
}
};
</script>