Commit ac7b66dc by 肖康

下单多次跳转点击问题

parent 67226b99
Showing with 3 additions and 0 deletions
......@@ -250,6 +250,8 @@ define('confirm', ['liexin_pop','form','artTemplate'], function (require, export
//提交订单
$(".ordercreates").click(function(){
if($(this).hasClass("dis")){return}
$(".ordercreates").addClass("dis")
var arr_=[]
$(".tbodycars .tr").each(function(){
arr_.push({
......@@ -267,6 +269,7 @@ define('confirm', ['liexin_pop','form','artTemplate'], function (require, export
window.location.href="/user/order"
})
} else {
$(".ordercreates").removeClass("dis")
liexin_pop.Tip({ title: res.msg })
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment