Commit 047d90a2 by 前端

1

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