From 01b3f08d8cf1afdf0060b52fe79097a91406bdff Mon Sep 17 00:00:00 2001 From: chuzhongzai Date: Fri, 8 Dec 2023 15:06:00 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E5=88=86=E4=BB=A3=E7=A0=81=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Side.vue | 1 + src/store/index.js | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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 } //处理时间戳