[新增] radio 单选组件

This commit is contained in:
就眠仪式
2021-09-30 02:31:50 +08:00
parent d3fd62254b
commit bca3f1b061
2 changed files with 29 additions and 1 deletions

View File

@@ -43,6 +43,6 @@ const handleClick = function () {
if (props.disabled) {
return false
}
emit('update:modelValue', !props.modelValue)
emit('update:modelValue', props.label)
}
</script>