Skip to content

Commit

Permalink
fix: typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
rdjanuar committed Jan 9, 2025
1 parent 3add3ca commit 303de41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runtime/components/InputMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,8 @@ function onUpdateOpen(value: boolean) {
function onRemoveTag(event: any) {
if (Array.isArray(props.modelValue)) {
const modelValue = props.modelValue
const filteredValue = modelValue.filter(value => !isEqual(value, event))
emits('update:modelValue', filteredValue as SelectModelValue<T, V, M>)
const filteredValue = modelValue.filter(value => !isEqual(value, event)) as SelectModelValue<T, V, M>
emits('update:modelValue', filteredValue)
}
}
Expand Down

0 comments on commit 303de41

Please sign in to comment.