From 2131040f7acc8f58755fdfe8b700a89ed94d2880 Mon Sep 17 00:00:00 2001 From: taohebin Date: Fri, 18 Oct 2024 12:23:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20iOS-uvue=E4=B8=AD=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E8=BD=AC=E6=8D=A2=E6=94=B9=E4=B8=BA=E6=96=B0=E5=86=99=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/API/request/request.uvue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/API/request/request.uvue b/pages/API/request/request.uvue index e5391549..26d8e768 100644 --- a/pages/API/request/request.uvue +++ b/pages/API/request/request.uvue @@ -300,9 +300,9 @@ sslVerify: false, withCredentials: false, firstIpv4: false, - success: (res) => { - const requestCookie = (res.data as UTSJSONObject).getJSON("data")?.getAny("requestCookie") - this.jest_result_data = JSON.stringify(requestCookie) + success: (res) => { + const requestCookie = (JSON.parse(JSON.stringify(res.data)) as UTSJSONObject).getJSON("data")?.getAny("requestCookie") + this.jest_result_data = JSON.stringify(requestCookie) if (requestCookie instanceof Array) { this.jest_result = needCookie ? requestCookie.length > 0 : requestCookie.length == 0 } else { -- GitLab