diff --git a/src/components/Side.vue b/src/components/Side.vue
index 0714aee..25064f9 100644
--- a/src/components/Side.vue
+++ b/src/components/Side.vue
@@ -119,6 +119,7 @@
大小:{{currentGallery.fileSize}}
分辨率:{{currentGallery.resolution}}
链接:link
+ 下载链接:link
标签:{{currentGallery.tag === '' ? '无': currentGallery.tag}}
downloader:{{currentGallery.downloader}}
diff --git a/src/store/index.js b/src/store/index.js
index 2a303e0..b36e06c 100644
--- a/src/store/index.js
+++ b/src/store/index.js
@@ -250,7 +250,7 @@ const actions = {
ElMessage(res.data.data)
})
},
- resetUndone(context) {
+ resetUndone() {
axios.post(GalleryManageUrl + "/reset?AuthCode=big+lion").then((res) => {
ElMessage(res.data.data)
})
@@ -299,13 +299,16 @@ const mutations = {
break;
case "下载完成":
task.progress = "下载完成"
- task.download = GalleryManageUrl + "/file/" + encodeURI(task.name) + ".zip?AuthCode=" + state.AuthCode + "&gid=" + task.gid
+ task.download = GalleryManageUrl + "/file/" + encodeURIComponent(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);
task.images = links
break;
+ case "压缩中":
+ task.progress = "压缩中"
+ break
}
//处理时间戳