diff --git a/src/main/resources/templates/cart_order.html b/src/main/resources/templates/cart_order.html index 4c58ec7..3269c86 100644 --- a/src/main/resources/templates/cart_order.html +++ b/src/main/resources/templates/cart_order.html @@ -179,15 +179,16 @@ //check if ($(".shop_adress-top:not(:last) :radio:checked").length == 0) { alert("请先选择一个地址。"); - return; } var nu = '1'; - $("#aspnetForm").submit(); + // $("#aspnetForm").submit(); + window.location.href = "/cart_order_success"; } $(function() { - $("#aspnetForm").attr("action", "/cart_order_success"); + // window.location.href = "/cart_order_success"; + // $("#aspnetForm").attr("action", "/cart_order_success"); });