修复视频最大页数计算出错的问题(同步更新)

This commit is contained in:
chuzhongzai 2023-01-15 14:03:53 +08:00
parent 77d771f98a
commit 39cc228390

View File

@ -621,11 +621,9 @@ const getters = {
else if(state.searchTask.length !== 0)
tasks = state.searchTask
else if(state.showType === "gallery")
if(state.totalGalleryTask.length !== 0)
tasks = state.totalGalleryTask
tasks = state.totalGalleryTask
else if(state.showType === "video")
if(state.totalVideoTask.length)
tasks = state.totalVideoTask
tasks = state.totalVideoTask
if(!tasks)
return 1