refactor(client): specify global scope
This commit is contained in:
parent
b312846ff6
commit
8322c90834
30 changed files with 75 additions and 75 deletions
|
|
@ -66,9 +66,9 @@ const fetch = async () => {
|
|||
|
||||
onMounted(() => {
|
||||
fetch();
|
||||
const intervalId = setInterval(fetch, 1000 * 60);
|
||||
const intervalId = window.setInterval(fetch, 1000 * 60);
|
||||
onUnmounted(() => {
|
||||
clearInterval(intervalId);
|
||||
window.clearInterval(intervalId);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue