Fix types
This commit is contained in:
parent
6f1adeb95c
commit
844b18196f
|
|
@ -31,7 +31,7 @@ const props = withDefaults(defineProps<Props>(), {
|
||||||
items: () => [],
|
items: () => [],
|
||||||
});
|
});
|
||||||
|
|
||||||
const dropdownSelected = computed({
|
const dropdownSelected = computed<DropdownSelectable>({
|
||||||
get: () => props.modelValue,
|
get: () => props.modelValue,
|
||||||
set: (val) => emit("update:modelValue", val),
|
set: (val) => emit("update:modelValue", val),
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue