diff --git a/src/store/index.js b/src/store/index.js index 89c762d..5d26259 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -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