diff --git a/pages/API/request/request.uvue b/pages/API/request/request.uvue index 26d8e7689abeb13c38a48c4e0fbeb9ea45f9ee4a..e5391549df33fdd9face7ab554b04e5b305ddc0d 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 = (JSON.parse(JSON.stringify(res.data)) as UTSJSONObject).getJSON("data")?.getAny("requestCookie") - this.jest_result_data = JSON.stringify(requestCookie) + success: (res) => { + const requestCookie = (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 {