From 53e6f13f5e86608eeefa6479bd53f02fa65fd2bf Mon Sep 17 00:00:00 2001 From: zhenyuWang <13641039885@163.com> Date: Mon, 9 Dec 2024 15:03:15 +0800 Subject: [PATCH] =?UTF-8?q?test(downloadFile):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/API/download-file/download-file.uvue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pages/API/download-file/download-file.uvue b/pages/API/download-file/download-file.uvue index 5d1cbbd6..d18a224f 100644 --- a/pages/API/download-file/download-file.uvue +++ b/pages/API/download-file/download-file.uvue @@ -123,7 +123,6 @@ firstIpv4: false, success: () => { this.jest_cookie_download(true) - this.jest_callback_triggred = true }, fail: () => { this.jest_result = false; @@ -142,7 +141,6 @@ firstIpv4: false, success: () => { this.jest_cookie_download(false) - this.jest_callback_triggred = true }, fail: () => { this.jest_result = false; @@ -155,6 +153,7 @@ url: "https://request.dcloud.net.cn/api/http/header/download", success: () => { this.jest_result = needCookie ? true : false; + this.jest_callback_triggred = true }, fail: () => { this.jest_result = needCookie ? false : true; -- GitLab