From 933aff8496d3a1263c40b76a3c55029525e2ec59 Mon Sep 17 00:00:00 2001 From: wyndem Date: Fri, 14 Jul 2023 00:03:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=88=86=E4=BA=AB=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=EF=BC=8C=E6=97=A0=E6=B3=95=E4=B8=8B=E8=BD=BD=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- README.md | 6 +++--- src/api/aliyun.js | 3 ++- src/page/DwoloadPage.vue | 36 ++++++++++++++++++++++++------------ 4 files changed, 30 insertions(+), 17 deletions(-) diff --git a/.env b/.env index 09e1157..6c57d3c 100644 --- a/.env +++ b/.env @@ -1 +1 @@ -VITE_VERSION='2.1.1' \ No newline at end of file +VITE_VERSION='2.1.2' \ No newline at end of file diff --git a/README.md b/README.md index 0fbd14c..aed679c 100644 --- a/README.md +++ b/README.md @@ -12,11 +12,11 @@ -## GitHub开源 -[https://github.com/wyndem/ali-video] (https://github.com/wyndem/ali-video) +## 油猴地址 +https://greasyfork.org/zh-CN/scripts/458626 ## 鸣谢 -开源脚手架: [vite-plugin-monkey] (https://github.com/lisonge/vite-plugin-monkey) +开源脚手架: https://github.com/lisonge/vite-plugin-monkey # 说明 diff --git a/src/api/aliyun.js b/src/api/aliyun.js index 8d411e1..c3e9618 100644 --- a/src/api/aliyun.js +++ b/src/api/aliyun.js @@ -47,7 +47,8 @@ export const shareLinkDownloadUrl=(data,shareToken)=>axios({ }, headers:{ 'content-type': 'application/json;charset=UTF-8', - 'x-share-token': shareToken + 'x-share-token': shareToken, + '_token':false } }) diff --git a/src/page/DwoloadPage.vue b/src/page/DwoloadPage.vue index 4b87317..08b41a7 100644 --- a/src/page/DwoloadPage.vue +++ b/src/page/DwoloadPage.vue @@ -1,5 +1,5 @@