Browse Source

Merge branch 'fine-music-score' into jenkins

lex 2 years ago
parent
commit
f01949728c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/cart/cart-confirm/index.tsx

+ 1 - 1
src/views/cart/cart-confirm/index.tsx

@@ -131,7 +131,7 @@ export default defineComponent({
         cartIds: ids,
         cartIds: ids,
         memberReceiveAddressId: address.value?.id,
         memberReceiveAddressId: address.value?.id,
         platformType: state.platformType,
         platformType: state.platformType,
-        orderAmount: (payAmount >= 0 ? payAmount : 0).toFixed(2),
+        orderAmount: Number((payAmount >= 0 ? payAmount : 0).toFixed(2)),
         couponId: orderInfo.couponId
         couponId: orderInfo.couponId
       }
       }
       try {
       try {