提交 55486e37 编写于 作者: Q qiang

fix: androidTLSConfig -> tls

上级 09b564fe
......@@ -46,7 +46,7 @@ export function createRequestTaskById (requestTaskId, {
responseType,
sslVerify = true,
firstIpv4 = false,
androidTLSConfig,
tls,
timeout = (__uniConfig.networkTimeout && __uniConfig.networkTimeout.request) || 60 * 1000
} = {}) {
const stream = requireNativePlugin('stream')
......@@ -101,7 +101,7 @@ export function createRequestTaskById (requestTaskId, {
// 配置和weex模块内相反
sslVerify: !sslVerify,
firstIpv4: firstIpv4,
androidTLSConfig: androidTLSConfig
tls
}
if (method !== 'GET') {
options.body = typeof data === 'string' ? data : JSON.stringify(data)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册