update eventfetcher alert

This commit is contained in:
2023-11-23 18:49:37 +08:00
parent 979679532c
commit 4af2190e6d
6 changed files with 38 additions and 9 deletions

View File

@@ -9,7 +9,9 @@ const accountInfo = useAccount()
let client = new DanmakuClient(null)
onMounted(() => {
client.Start()
if(accountInfo.value?.eventFetcherOnline != true){
client.Start()
}
})
onUnmounted(() => {
client.Stop()