更新 cart_order.html

master
wangsiyuan 2024-01-18 22:07:15 +08:00
parent 97ad9f1bbb
commit 44b64aa9df
1 changed files with 4 additions and 3 deletions

View File

@ -179,15 +179,16 @@
//check //check
if ($(".shop_adress-top:not(:last) :radio:checked").length == 0) { if ($(".shop_adress-top:not(:last) :radio:checked").length == 0) {
alert("请先选择一个地址。"); alert("请先选择一个地址。");
return;
} }
var nu = '1'; var nu = '1';
$("#aspnetForm").submit(); // $("#aspnetForm").submit();
window.location.href = "/cart_order_success";
} }
$(function() { $(function() {
$("#aspnetForm").attr("action", "/cart_order_success"); // window.location.href = "/cart_order_success";
// $("#aspnetForm").attr("action", "/cart_order_success");
}); });
</script> </script>
<!--内容--> <!--内容-->