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

This commit is contained in:
chuzhongzai 2023-01-15 14:03:47 +08:00
parent 9f30e27677
commit d87ccd0ea5

View File

@ -625,11 +625,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
else if(state.showType === "video")
if(state.totalVideoTask.length)
tasks = state.totalVideoTask
tasks = state.totalGalleryTask
else if(state.showType === "video")
tasks = state.totalVideoTask
if(!tasks)
return 1