fix: can not load watch later list

This commit is contained in:
Stephen Zhou
2024-04-26 11:42:16 +08:00
parent a4e96c825f
commit ff8056e01c
3 changed files with 2 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ function initPageAction() {
function getAllWatchLaterList() {
isLoading.value = true
watchLaterList.length = 0
api.watchlater.getAllWatchlaterList()
api.watchlater.getAllWatchLaterList()
.then((res: WatchLaterResult) => {
if (res.code === 0)
Object.assign(watchLaterList, res.data.list)