radio component
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user