mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-06 18:36:55 +08:00
rebuild
This commit is contained in:
@@ -86,6 +86,7 @@ export const useWebFetcher = defineStore('WebFetcher', () => {
|
|||||||
result = await connectDanmakuClient()
|
result = await connectDanmakuClient()
|
||||||
}
|
}
|
||||||
isStarted.value = true
|
isStarted.value = true
|
||||||
|
disconnectedByServer = false
|
||||||
})
|
})
|
||||||
|
|
||||||
connection.onclose(reconnect)
|
connection.onclose(reconnect)
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ onMounted(async () => {
|
|||||||
if (webFetcher.isStarted) {
|
if (webFetcher.isStarted) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
webFetcher.Stop()
|
webFetcher.Stop()
|
||||||
webFetcher.Start()
|
webFetcher.Start()
|
||||||
}, 20000)
|
}, 20000)
|
||||||
|
|||||||
Reference in New Issue
Block a user