Commit 047d90a2 by 前端

1

1 parent 287e6af3
...@@ -2806,9 +2806,9 @@ loadSuperiorMerchants(currentPage).then(function(list) { ...@@ -2806,9 +2806,9 @@ loadSuperiorMerchants(currentPage).then(function(list) {
// init() // init()
// }) // })
$('#confirm').on('click', function () { $('#confirm').on('click',debounce(function() {
submitAuth() submitAuth();
}) }, 2000));
util.event('lay-active', { util.event('lay-active', {
checkAll: function (othis) { checkAll: function (othis) {
...@@ -2826,8 +2826,6 @@ loadSuperiorMerchants(currentPage).then(function(list) { ...@@ -2826,8 +2826,6 @@ loadSuperiorMerchants(currentPage).then(function(list) {
functionFlag = true functionFlag = true
} }
}) })
var isRequestInProgress = false;
function submitAuth() { function submitAuth() {
var loadingSubmitIndex = layer.load(1, {shade: [0.5, '#fff']}); // shade属性是可选的 var loadingSubmitIndex = layer.load(1, {shade: [0.5, '#fff']}); // shade属性是可选的
var accountLevel = $('#accountLevelElTab').val(); var accountLevel = $('#accountLevelElTab').val();
...@@ -2861,10 +2859,6 @@ loadSuperiorMerchants(currentPage).then(function(list) { ...@@ -2861,10 +2859,6 @@ loadSuperiorMerchants(currentPage).then(function(list) {
return return
} }
getAuthList() getAuthList()
if(isRequestInProgress) {
return;
}
isRequestInProgress = true;
if (requestList.length != 0) { if (requestList.length != 0) {
var params = { var params = {
merchantId: merchantId, merchantId: merchantId,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!