From 26b622262e366b2e0b2e1a120328171d821eb609 Mon Sep 17 00:00:00 2001 From: chuzhongzai Date: Sun, 10 Sep 2023 13:04:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=A9=E7=95=A5=E5=9B=BE?= =?UTF-8?q?=E9=A2=84=E8=A7=88;=E4=BC=98=E5=8C=96=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?=E9=93=BE=E6=8E=A5;(=E5=90=8C=E6=AD=A5=E6=9B=B4=E6=96=B0)=20?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=90=9C=E7=B4=A2=E6=A1=86=E9=95=BF=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/DashBoard.vue | 6 ++++-- src/components/Side.vue | 4 ++-- src/store/index.js | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/components/DashBoard.vue b/src/components/DashBoard.vue index c73a752..ac26870 100644 --- a/src/components/DashBoard.vue +++ b/src/components/DashBoard.vue @@ -25,12 +25,12 @@ 查看标签
重置任务 -
+
{{thumbnailGallery.shortName}}
-
@@ -217,6 +217,8 @@ let tags = computed(() => { }) let thumbnailGallery = computed(() => { + if(store.state.thumbnailGallery.images === undefined) + store.state.thumbnailGallery.images = [] return store.state.thumbnailGallery }) diff --git a/src/components/Side.vue b/src/components/Side.vue index 4d6a335..0714aee 100644 --- a/src/components/Side.vue +++ b/src/components/Side.vue @@ -28,14 +28,14 @@ - + + style="width: 60vw" v-if="type === 'tag'"> diff --git a/src/store/index.js b/src/store/index.js index 332e71a..2a303e0 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -299,7 +299,7 @@ const mutations = { break; case "下载完成": task.progress = "下载完成" - task.download = GalleryManageUrl + "/file/" + encodeURI(task.name) + ".zip?AuthCode=" + state.AuthCode + task.download = GalleryManageUrl + "/file/" + encodeURI(task.name) + ".zip?AuthCode=" + state.AuthCode + "&gid=" + task.gid let links = [] for(let i=1; i<=task.pages; i++) links.push(GalleryManageUrl + "/onlineImage/" + i + "?gid=" + task.gid);