提交 5f783e79 编写于 作者: zhaofengliang920817's avatar zhaofengliang920817

iOS|fixed virtual-payment 页面示例bug

上级 b8f34080
......@@ -47,7 +47,7 @@
},
onLoad: function () {
this.productList.push({
name: '消耗性产品:个人赞助1元',
name: '消耗性产品:个人赞助1元,购买数量=5',
id: this.isDebug() ? "uniappx.consumable.sponsor_1" : "uniappx.consumable.sponsor1",
quantity: 5
} as PayItem);
......@@ -189,7 +189,7 @@
});
uni.getUnfinishedTransactions({
success: (res) => {
hideLoading()
uni.hideLoading()
console.log("获取未结束的订单列表个数:" + res.transactions.length)
res.transactions.forEach(transaction => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册