ソースを参照

Update index.tsx

lex 2 年 前
コミット
90a38ad7ee
1 ファイル変更1 行追加1 行削除
  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 {