1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

refactor: vue3 migration in progress

This commit is contained in:
2022-04-21 14:39:24 +02:00
parent 9a0f982723
commit 443170bbb1
61 changed files with 607 additions and 563 deletions

View File

@ -44,7 +44,7 @@
:visible-height="resultsSize"
:scroll-element="scrollElement"
>
<template slot-scope="{ items }">
<template #default="{ items }">
<div
v-for="query in items"
:key="query.uid"
@ -156,7 +156,7 @@ export default {
this.resizeResults();
window.addEventListener('resize', this.resizeResults);
},
beforeDestroy () {
beforeUnmount () {
window.removeEventListener('keydown', this.onKey, { capture: true });
window.removeEventListener('resize', this.resizeResults);
clearInterval(this.refreshInterval);