提交 9f3aba18 编写于 作者: fxy060608's avatar fxy060608

fix(mp-alipay): showLoading

上级 ba47cfdf
......@@ -222,7 +222,7 @@ function _handleSystemInfo (result) {
}
const protocols = { // 需要做转换的 API 列表
returnValue (methodName, res) { // 通用 returnValue 解析
returnValue (methodName, res = {}) { // 通用 returnValue 解析
if (res.error || res.errorMessage) {
res.errMsg = `${methodName}:fail ${res.errorMessage || res.error}`;
delete res.error;
......
{
"name": "@dcloudio/uni-mp-alipay",
"version": "0.0.812",
"version": "0.0.813",
"description": "uni-app mp-alipay",
"main": "dist/index.js",
"scripts": {
......
......@@ -74,7 +74,7 @@ function _handleSystemInfo (result) {
}
const protocols = { // 需要做转换的 API 列表
returnValue (methodName, res) { // 通用 returnValue 解析
returnValue (methodName, res = {}) { // 通用 returnValue 解析
if (res.error || res.errorMessage) {
res.errMsg = `${methodName}:fail ${res.errorMessage || res.error}`
delete res.error
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册