diff --git a/packages/community/propertyPayment/index.vue b/packages/community/propertyPayment/index.vue index b6e5ee51..02e826a8 100644 --- a/packages/community/propertyPayment/index.vue +++ b/packages/community/propertyPayment/index.vue @@ -515,22 +515,21 @@ export default { uni.showModal({ title: '提示', content: '确定使用物业公积金支付?', - success: async function (res) { + success: async (res) => { if (res.confirm) { await request(apiArr.createPayOrder, "POST", payParams).then((res) => { const params = { order_pay_id: res.id, } request(apiArr.tradeQuery, "POST", params).then(res => { - if (res && res.pay_status == 1) { - uni.showToast({ - title: '支付成功', - icon: 'success', - duration: 2000 - }); - this.getRoomSelect(); - this.getUserGovenmentMoney(); - } + console.log("🚀 ~ createPay ~ res:", res) + uni.showToast({ + title: '支付成功', + icon: 'success', + duration: 2000 + }); + this.getRoomSelect(); + this.getUserGovenmentMoney(); }) }); } else if (res.cancel) {