|
@@ -126,7 +126,7 @@
|
|
|
var order = this.order;
|
|
|
var refundAmount = this.refundAmount;
|
|
|
var token = uni.getStorageSync("token");
|
|
|
- if(order.payPlatform == '3') {
|
|
|
+ if(order.payPlatform != null && order.payPlatform == '3') {
|
|
|
//如果为直接对接微信支付
|
|
|
uni.request({
|
|
|
url: this.serverurl + '/tWeixinPay/refund',
|