fix(components): remove type assertion from body of genre picker component
This commit is contained in:
parent
e50fd2aba9
commit
519772fd88
@ -6,7 +6,9 @@
|
||||
value: a,
|
||||
label: a,
|
||||
}));
|
||||
const { value, errorMessage, name, setValue } = useField(fname + "genre");
|
||||
const { value, errorMessage, name, setValue } = useField<string[]>(
|
||||
fname + "genre",
|
||||
);
|
||||
</script>
|
||||
<template>
|
||||
<a-form-item
|
||||
@ -17,7 +19,7 @@
|
||||
<a-select
|
||||
:allow-clear="true"
|
||||
:options="opts"
|
||||
v-model:value="value as string[]"
|
||||
v-model:value="value"
|
||||
mode="multiple"
|
||||
>
|
||||
<template #removeIcon>
|
||||
|
Loading…
Reference in New Issue
Block a user