feat: add autoRefresh

This commit is contained in:
dreamhunter2333
2023-08-25 15:50:51 +08:00
parent df06414a75
commit 1852e715d0
-2
View File
@@ -30,8 +30,6 @@ const setupAutoRefresh = async (autoRefresh) => {
} }
} }
setupAutoRefresh(autoRefresh)
watch(autoRefresh, async (autoRefresh, old) => { watch(autoRefresh, async (autoRefresh, old) => {
setupAutoRefresh(autoRefresh) setupAutoRefresh(autoRefresh)
}) })