提交 55d4d1a7 编写于 作者: 雪洛's avatar 雪洛

Revert "fix: iOS-uvue中类型转换改为新写法"

This reverts commit 2131040f.
上级 da20045e
...@@ -301,7 +301,7 @@ ...@@ -301,7 +301,7 @@
withCredentials: false, withCredentials: false,
firstIpv4: false, firstIpv4: false,
success: (res) => { success: (res) => {
const requestCookie = (JSON.parse(JSON.stringify(res.data)) as UTSJSONObject).getJSON("data")?.getAny("requestCookie") const requestCookie = (res.data as UTSJSONObject).getJSON("data")?.getAny("requestCookie")
this.jest_result_data = JSON.stringify(requestCookie) this.jest_result_data = JSON.stringify(requestCookie)
if (requestCookie instanceof Array) { if (requestCookie instanceof Array) {
this.jest_result = needCookie ? requestCookie.length > 0 : requestCookie.length == 0 this.jest_result = needCookie ? requestCookie.length > 0 : requestCookie.length == 0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册