Browse Source

修改逻辑

lex 1 year ago
parent
commit
0bd943af6f
1 changed files with 1 additions and 5 deletions
  1. 1 5
      src/views/order-detail/index.tsx

+ 1 - 5
src/views/order-detail/index.tsx

@@ -192,11 +192,7 @@ export default defineComponent({
 
         // 判断是否已经有支付方式了
         const paymentConfig = orderStatus.orderObject.paymentConfig || {}
-        if (
-          paymentConfig.paymentVendor &&
-          paymentConfig.paymentVersion &&
-          orderStatus.orderObject.orderNo
-        ) {
+        if (paymentConfig.paymentVersion && orderStatus.orderObject.orderNo) {
           this.paymentVersion = paymentConfig.paymentVersion || 'V1'
           this.paymentVendor = paymentConfig.paymentVendor
         } else {