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'">
清空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);