提交 63bf80ad 编写于 作者: M mahaifeng

[payment]修改示例代码

上级 074e4d4c
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
name: '支付宝', name: '支付宝',
id: "alipay", id: "alipay",
provider: e.providers.find((item) : boolean => { provider: e.providers.find((item) : boolean => {
return item?.id == 'alipay' return item.id == 'alipay'
}) })
} as PayItem); } as PayItem);
break; break;
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
name: '微信', name: '微信',
id: "wxpay", id: "wxpay",
provider: e.providers.find((item) : boolean => { provider: e.providers.find((item) : boolean => {
return item?.id == 'wxpay' return item.id == 'wxpay'
}) })
} as PayItem); } as PayItem);
break; break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册