From 11feed5f78eb44d94bb620d9d9ce10939f239b08 Mon Sep 17 00:00:00 2001 From: taohebin Date: Tue, 2 Jan 2024 11:20:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20instanceof=E6=97=B6=E5=8E=BB=E6=8E=89Arr?= =?UTF-8?q?ay=E5=A4=9A=E4=BD=99=E7=9A=84=E6=B3=9B=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/API/request/request.uvue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/API/request/request.uvue b/pages/API/request/request.uvue index 93e03d36..f0a6b1b7 100644 --- a/pages/API/request/request.uvue +++ b/pages/API/request/request.uvue @@ -274,7 +274,7 @@ success: (res) => { const requestCookie = (res.data as UTSJSONObject).getJSON("data")?.getAny("requestCookie") console.log("requestCookie ", requestCookie); - if(requestCookie instanceof Array){ + if(requestCookie instanceof Array){ this.jest_result = needCookie ? requestCookie.length > 0 : requestCookie.length == 0 }else{ this.jest_result = needCookie ? (requestCookie as UTSJSONObject).toMap().size > 0 : (requestCookie as UTSJSONObject).toMap().size == 0 -- GitLab