diff --git a/src/store/index.js b/src/store/index.js index 79a23ea..565baf3 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -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