From 92929b1db77188ceea3d566f77af301b4c761582 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Thu, 13 Feb 2020 13:14:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8E=A8=E5=B9=BF=E5=85=AC?= =?UTF-8?q?=E5=8F=B8=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/View/PromoteCompany/add.html | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Application/Admin/View/PromoteCompany/add.html b/Application/Admin/View/PromoteCompany/add.html index 87220142b..7c71459f6 100644 --- a/Application/Admin/View/PromoteCompany/add.html +++ b/Application/Admin/View/PromoteCompany/add.html @@ -283,12 +283,7 @@ content: url }); }); - var isclick = false; $("#submit").on("click",function(){ - if(isclick){ - return; - } - isclick = true; var obj = { "company_name":["required","推广公司名称不允许为空"], "platform_name":["nocheck"], @@ -326,7 +321,6 @@ data:cres, dataType:"json", success:function(data){ - isclick = false; if(data.status == 1){ layer.msg(data.info,function(){ window.location.href="{:U('PromoteCompany/lists')}"; @@ -336,7 +330,7 @@ } }, error:function(e){ - isclick = false; + } });