diff --git a/pages/API/download-file/download-file.uvue b/pages/API/download-file/download-file.uvue index 5d1cbbd60fd127afc5b106690d45673e09dbd24b..d18a224f424b438245f7f5acbdbc28dc4149456d 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;