|
@@ -240,8 +240,8 @@ export default defineComponent({
|
|
|
|
|
|
// 判断是否为原生支付
|
|
|
if (
|
|
|
- this.orderInfo.paymentVendor.indexOf('wxpay') > -1 ||
|
|
|
- this.orderInfo.paymentVendor.indexOf('alipay') > -1
|
|
|
+ this.orderInfo.paymentVendor?.indexOf('wxpay') > -1 ||
|
|
|
+ this.orderInfo.paymentVendor?.indexOf('alipay') > -1
|
|
|
) {
|
|
|
this.paymentStatus = true
|
|
|
} else {
|