提交 2a823a45 编写于 作者: D DCloud_LXH

chore: lint

上级 511c004c
......@@ -193,22 +193,22 @@ export function operateRequestTask ({
}
}
export function configMTLS ({certificates}, callbackId) {
export function configMTLS ({ certificates }, callbackId) {
const stream = requireNativePlugin('stream')
stream.configMTLS(certificates, ({type, code, message}) => {
stream.configMTLS(certificates, ({ type, code, message }) => {
switch (type) {
case 'success':
invoke(callbackId, {
errMsg: 'configMTLS:ok',
code
})
break;
break
case 'fail':
invoke(callbackId, {
errMsg: 'configMTLS:fail ' + message,
code
})
break;
break
}
});
})
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册