fix(WatchLater): display nothing after clearing watched items (#817)

close #817
This commit is contained in:
hakadao
2024-06-07 01:48:19 +08:00
parent 9c54e07cd2
commit 5d9fed5a3c

View File

@@ -106,7 +106,7 @@ function handleClearAllWatchLater() {
csrf: getCSRF(),
}).then((res) => {
if (res.code === 0)
getAllWatchLaterList()
initData()
}).finally(() => {
isLoading.value = false
})
@@ -124,7 +124,7 @@ function handleRemoveWatchedVideos() {
})
.then((res) => {
if (res.code === 0)
getAllWatchLaterList()
initData()
})
}
}