fix: fix vue/no-ref-as-operand
and vue/return-in-computed-property
ESLint errors (#2679)
This commit is contained in:
parent
ed8a1811cc
commit
3b1a66c93c
9 changed files with 14 additions and 10 deletions
|
@ -72,7 +72,7 @@ function onEnter(e: KeyboardEvent) {
|
|||
}
|
||||
|
||||
function escapeAutocomplete(evt: KeyboardEvent) {
|
||||
if (!autocompleteShow)
|
||||
if (!autocompleteShow.value)
|
||||
return
|
||||
autocompleteShow.value = false
|
||||
evt.stopPropagation()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue