提交 1d83e2a5 编写于 作者: d-u-a's avatar d-u-a

fix: ios request data类型非字符串时返回statusCode -1问题

上级 76df458d
......@@ -78,7 +78,7 @@ export function createRequestTaskById (requestTaskId, {
sslVerify: !sslVerify
}
if (method !== 'GET') {
options.body = data
options.body = typeof data === "string" ? data : JSON.stringify(data)
}
try {
stream.fetch(options, ({
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册