Commit 5866eca2 by 前端

确定按钮优化

1 parent e3fa663a
......@@ -746,6 +746,7 @@
// 在每次打开文件选择器之前重置 _uploadMerchantUrl
_uploadMerchantUrl = null;
$(layero).find('#selectFileBtn').on('click', function(){
isRequestInProgress = false; //重置允许确定发送请求
var fileInput = $(layero).find('#fileInput');
fileInput.val(''); // 重置文件输入元素
fileInput.click();
......@@ -825,7 +826,6 @@
}
)
layer.close(loadingIndex);
isRequestInProgress = false;
$(layero).find('#fileInput').on('change', function(){
var originalTemplateUrl = 'https://img01.glsx.com.cn/weapp/resource/saas/scrm/xlsx/批量创建商户导入模版.xlsx';
updateTemplateLink(originalTemplateUrl, '下载模板', false);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!