From 44b64aa9df1e6d82a076201903667d8688d88085 Mon Sep 17 00:00:00 2001 From: wangsiyuan <2392948297@qq.com> Date: Thu, 18 Jan 2024 22:07:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20cart=5Forder.html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/templates/cart_order.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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"); });