mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-25 01:10:40 +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'
|
import { useFormField } from '../composables/useFormField'
|
||||||
|
|
||||||
const props = withDefaults(defineProps<RadioGroupProps<T>>(), {
|
const props = withDefaults(defineProps<RadioGroupProps<T>>(), {
|
||||||
valueKey: 'value' as any,
|
valueKey: 'value',
|
||||||
orientation: 'vertical'
|
orientation: 'vertical'
|
||||||
})
|
})
|
||||||
const emits = defineEmits<RadioGroupEmits>()
|
const emits = defineEmits<RadioGroupEmits>()
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ import UAvatar from './Avatar.vue'
|
|||||||
import UChip from './Chip.vue'
|
import UChip from './Chip.vue'
|
||||||
|
|
||||||
const props = withDefaults(defineProps<SelectProps<T>>(), {
|
const props = withDefaults(defineProps<SelectProps<T>>(), {
|
||||||
valueKey: 'value' as any,
|
valueKey: 'value',
|
||||||
portal: true
|
portal: true
|
||||||
})
|
})
|
||||||
const emits = defineEmits<SelectEmits>()
|
const emits = defineEmits<SelectEmits>()
|
||||||
|
|||||||
Reference in New Issue
Block a user