fix: don't push a select event when nothing was selected
This commit is contained in:
parent
49f3b928cb
commit
9616badc33
1 changed files with 3 additions and 0 deletions
|
@ -55,6 +55,9 @@ function findLists(query: string) {
|
|||
}
|
||||
|
||||
function select(l: IList | null) {
|
||||
if (l === null) {
|
||||
return
|
||||
}
|
||||
Object.assign(list, l)
|
||||
emit('update:modelValue', list)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue