提交 916081d4 编写于 作者: W WOSHIMAHAIFENG

修复支付语法提示错误

上级 5c1ddde5
...@@ -31,9 +31,8 @@ ...@@ -31,9 +31,8 @@
provider: "alipay", provider: "alipay",
orderInfo: res.data as string, orderInfo: res.data as string,
fail: (res : RequestPaymentFail) => { fail: (res : RequestPaymentFail) => {
console.log(JSON.stringify(res)) console.log(JSON.stringify(res))
const error = res as UniError this.errorCode = res.errCode
this.errorCode = error.errCode
uni.showToast({ uni.showToast({
icon: 'error', icon: 'error',
title: 'errorCode:' + this.errorCode title: 'errorCode:' + this.errorCode
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册