u
This commit is contained in:
1 parent
5834738700
commit
df704b3056
8 files changed
+344
-121
No files matched your search
@@ -34,7 +34,7 @@ export default defineComponent({
|
||||
type: {
|
||||
type: String as PropType<'default' | 'filled' | 'primaryFilled' | 'card' | 'pureCard' | 'outline'>,
|
||||
default: 'default',
|
||||
}
|
||||
},
|
||||
},
|
||||
emits: ['update:modelValue', 'change'],
|
||||
setup(props, { slots, emit }) {
|
||||
@@ -49,7 +49,7 @@ export default defineComponent({
|
||||
const isChecked = computed(() => {
|
||||
if (inGroup.value)
|
||||
return props.value === radioGroupCtx!.value
|
||||
return _checked.value
|
||||
return props.modelValue ?? _checked.value
|
||||
})
|
||||
|
||||
const handleClick = (e: Event) => {
|
||||
|
||||
Reference in new issue
Block a user