提交 75b60c81 编写于 作者: Q qiang

build: build v3

上级 1f134763
......@@ -6626,7 +6626,8 @@ var serviceContext = (function () {
ok,
status,
data,
headers
headers,
errorMsg
}) => {
if (aborted) {
return
......@@ -6644,12 +6645,16 @@ var serviceContext = (function () {
header: headers,
cookies: cookiesPrase(headers)
});
} else {
} else {
let errMsg = 'abort statusCode:' + statusCode;
if (errorMsg) {
errMsg = errMsg + ' ' + errorMsg;
}
publishStateChange$1({
requestTaskId,
state: 'fail',
statusCode,
errMsg: 'abort statusCode:' + statusCode
errMsg
});
}
});
......@@ -20765,7 +20770,9 @@ var serviceContext = (function () {
onMethod('onKeyboardHeightChange', res => {
keyboardHeight = res.height;
if (keyboardHeight > 0) {
onKeyboardShow && onKeyboardShow();
const callback = onKeyboardShow;
onKeyboardShow = null;
callback && callback();
}
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册