From 9672c045ca72ea5d218b0705bf65075f77e9e5ca Mon Sep 17 00:00:00 2001 From: chuzhongzai Date: Wed, 12 Oct 2022 17:39:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9C=80=E5=A4=A7=E9=A1=B5?= =?UTF-8?q?=E6=95=B0=E8=AE=A1=E7=AE=97=E5=87=BA=E9=94=99=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/index.js b/src/store/index.js index a856ee9..459081d 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -385,10 +385,10 @@ const getters = { if(state.searchTask.length !== 0){ tasks = state.searchTask } - else if(state.showHistory === "gallery") + else if(state.showType === "gallery") if(state.totalGalleryTask.length !== 0) tasks = state.totalGalleryTask - else if(state.showHistory === "video") + else if(state.showType === "video") if(state.totalVideoTask.length) tasks = state.totalVideoTask if(!tasks)