Explorar o código

Merge branch 'fine-music-score' into jenkins

lex %!s(int64=2) %!d(string=hai) anos
pai
achega
f01949728c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,
         memberReceiveAddressId: address.value?.id,
         platformType: state.platformType,
-        orderAmount: (payAmount >= 0 ? payAmount : 0).toFixed(2),
+        orderAmount: Number((payAmount >= 0 ? payAmount : 0).toFixed(2)),
         couponId: orderInfo.couponId
       }
       try {