perf: enable strict ts type checking (#4045)
This commit is contained in:
@@ -95,10 +95,12 @@ async function handleEnter() {
|
||||
return;
|
||||
}
|
||||
const to = result[index];
|
||||
searchHistory.value.push(to);
|
||||
handleClose();
|
||||
await nextTick();
|
||||
router.push(to.path);
|
||||
if (to) {
|
||||
searchHistory.value.push(to);
|
||||
handleClose();
|
||||
await nextTick();
|
||||
router.push(to.path);
|
||||
}
|
||||
}
|
||||
|
||||
// Arrow key up
|
||||
|
Reference in New Issue
Block a user