mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
chore(RadioGroup/Select): remove useless as any on valueKey
This commit is contained in:
@@ -62,7 +62,7 @@ import { useId } from '#imports'
|
||||
import { useFormField } from '../composables/useFormField'
|
||||
|
||||
const props = withDefaults(defineProps<RadioGroupProps<T>>(), {
|
||||
valueKey: 'value' as any,
|
||||
valueKey: 'value',
|
||||
orientation: 'vertical'
|
||||
})
|
||||
const emits = defineEmits<RadioGroupEmits>()
|
||||
|
||||
@@ -102,7 +102,7 @@ import UAvatar from './Avatar.vue'
|
||||
import UChip from './Chip.vue'
|
||||
|
||||
const props = withDefaults(defineProps<SelectProps<T>>(), {
|
||||
valueKey: 'value' as any,
|
||||
valueKey: 'value',
|
||||
portal: true
|
||||
})
|
||||
const emits = defineEmits<SelectEmits>()
|
||||
|
||||
Reference in New Issue
Block a user