Browse Source

fix(payment): 更新支付信息和 API 地址

- 在支付组件中添加支付金额信息更新
master
liutong 1 year ago
parent
commit
b42cfca14d
  1. 1
      components/payment/payment.vue

1
components/payment/payment.vue

@ -303,6 +303,7 @@ import { launchMiniProgram } from '../../common/js/jweixin-module/out';
uni.hideLoading(); uni.hideLoading();
if (res.code >= 0) { if (res.code >= 0) {
console.log(res.data, `pay`); console.log(res.data, `pay`);
this.payInfo.pay_money = res.data.pay_money;
if (res.data.pay_success) { if (res.data.pay_success) {
this.paySuccess(); this.paySuccess();
return; return;

Loading…
Cancel
Save