From d87ccd0ea509e5f48ebf283fa2adee47d24bdcc2 Mon Sep 17 00:00:00 2001 From: chuzhongzai Date: Sun, 15 Jan 2023 14:03:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=A7=86=E9=A2=91=E6=9C=80?= =?UTF-8?q?=E5=A4=A7=E9=A1=B5=E6=95=B0=E8=AE=A1=E7=AE=97=E5=87=BA=E9=94=99?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98=EF=BC=88=E5=90=8C=E6=AD=A5=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/index.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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