From 39cc228390d0ae0412c7aea25aab30b53f071f8a Mon Sep 17 00:00:00 2001 From: chuzhongzai Date: Sun, 15 Jan 2023 14:03:53 +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 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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