当前位置:网站首页>uni-app解析银行卡(支付宝)返回form表单,唤起支付宝界面
uni-app解析银行卡(支付宝)返回form表单,唤起支付宝界面
2022-06-10 11:55:00 【Treasure girl1】

//接口返回form表单形式
that.post({
url: '接口地址',
data: data,
type: 'post',
success: function(res) {
console.log(res)
if (res.code == 1) {
that.showToast('支付成功')
// 将接口返回的form表单显示到页面
document.querySelector('body').innerHTML = res.data.data;
// 调用submit方法
document.forms[0].submit()
} else {
that.showToast(res.msg)
}
}
})
边栏推荐
- 有在网上股票开户的吗?股票网上开户安全吗?
- QA of some high frequency problems in oauth2 learning
- Xijun data cooperates with Alibaba cloud to obtain Alibaba cloud product integration certification!
- Pytorch tensor高阶操作
- 因为CircleImageView导致Binary XML file line #96: Error inflating class <unknown>
- [PaperNote] Confidential Computing Direction
- 【严选】,真题解析
- 两个BigDecimal数据类型比较、加减乘除、格式化
- Surrender firehouse database access: Twitter is ready to meet Musk's requirements
- "Duty" is waiting for you| Book planning and editing (Conference Proceedings)
猜你喜欢

Surrender firehouse database access: Twitter is ready to meet Musk's requirements

浅谈分布式事务

Start from 0 to build a high-performance R & D full stack team

Transfomer components and pytoch

海量数据:华为高斯数据库第一股(深度)

期末考试——编译原理

使用Joern处理大量文件,生成PDG速度很慢的解决方法

“易 +”开源计划丨基于 WebRTC 的低延时播放器设计和实践

国际档案日|瀚高数据库以科技赋能数字档案建设

Unity打字机,使文本自动滚至文本框底部
随机推荐
SQL Server AlwaysOn查看数据同步进度
print(net) vs. net. parameters vs. net. named_ parameters
IDEA自定义配置链接nacos
2022 年 5 月产品大事记
Transfomer components and pytoch
JPA + MySQL list converted to string stored in database
更改系统时间
4.25 million budget bidding: centralized procurement of onsite maintenance services for Oracle, teledb, telepg and other core system databases of Jiangsu Telecom
'getdrawable (int) 'is deprecated, getdrawable is obsolete
期货开户在网上办理安全吗?靠谱吗?
Opérations de haut niveau du capteur de pythorch
10款值得你去选择的AirPods Pro竞争产品
Pytorch tensor高阶操作
Living in the last era, etcd 3.0 is so simple to implement distributed locks!
Source of concurrent bugs (I) - visibility
Localdatetime and string date conversion
list.remove(index)返回flase,移除失败
TMUX use
Remote access to tensorboard
2022 CISCN初赛 Satool