1
xuxueyang
2024-08-28 ff5c48b37c71b4bcb8f261af4de6bc3464b79608
pages/order/order-detail.vue
@@ -162,7 +162,7 @@
                           // merchant_trade_no: '',
                           transaction_id: tmp.dto && tmp.dto.paymentTrId || ''
                        },
                        success() {
                        async success() {
                           //dosomething
                           // 发送请求
                           tmp.$message.showLoading()
@@ -230,10 +230,8 @@
                        ...data,
                        async success(res) {
                           console.log('pay success', res)
                           that.$message.showToast('支付成功')
                           setTimeout(() => {
                              that.getDetail()
                           }, 200)
                           await that.$message.showToast('支付成功')
                           that.getDetail()
                        },
                        fail(err) {
                           console.error('pay fail', err)