diff --git a/packages/uni-mp-alipay/dist/index.js b/packages/uni-mp-alipay/dist/index.js index 1a7500e49a3b5576ee0f5a05432c42d7749b72a5..976ba3a1d8f4bab0590490bfdb41f8eff70020f3 100644 --- a/packages/uni-mp-alipay/dist/index.js +++ b/packages/uni-mp-alipay/dist/index.js @@ -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; diff --git a/packages/uni-mp-alipay/package.json b/packages/uni-mp-alipay/package.json index 0200a1ad0c46717079acfee61f5489b113c44a16..6984a2c92ddbfbe36d159d0d8388787f887b8892 100644 --- a/packages/uni-mp-alipay/package.json +++ b/packages/uni-mp-alipay/package.json @@ -1,6 +1,6 @@ { "name": "@dcloudio/uni-mp-alipay", - "version": "0.0.812", + "version": "0.0.813", "description": "uni-app mp-alipay", "main": "dist/index.js", "scripts": { diff --git a/src/platforms/h5/components/app/popup/toast.vue b/src/platforms/h5/components/app/popup/toast.vue index 5cd4bc29c47986a146b6bea056d7b89973d40a4c..ad632d523a8a62484559646e7e950dd47a140636 100644 --- a/src/platforms/h5/components/app/popup/toast.vue +++ b/src/platforms/h5/components/app/popup/toast.vue @@ -1,8 +1,7 @@