Przeglądaj źródła

Merge branch 'online' into jenkins

lex 2 lat temu
rodzic
commit
7c0dc1d1c7
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/views/cart/cart-confirm/index.tsx

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

@@ -149,7 +149,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: cartUseAmount.value.couponId,
         useBalance: cartUseAmount.value.useBalance // 是否使用余额
       }