From 5dd0071775a7252ed22e4c6bfd1c3ee7daeb012a Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期六, 06 六月 2020 09:36:26 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/matCode/matCode.js | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main/webapp/static/js/matCode/matCode.js b/src/main/webapp/static/js/matCode/matCode.js index 1aa6c3f..2e6971b 100644 --- a/src/main/webapp/static/js/matCode/matCode.js +++ b/src/main/webapp/static/js/matCode/matCode.js @@ -192,18 +192,18 @@ url: baseUrl+"/matCode/export/auth", headers: {'token': localStorage.getItem('token')}, data: JSON.stringify(param), - dataType:'json', + // dataType:'json', contentType:'application/json;charset=UTF-8', method: 'POST', success: function (res) { - layer.closeAll(); - if (res.code === 200) { - table.exportFile(titles,res.data,'xls'); - } else if (res.code === 403) { - top.location.href = baseUrl; - } else { - layer.msg(res.msg) - } + // layer.closeAll(); + // if (res.code === 200) { + // table.exportFile(titles,res.data,'xls'); + // } else if (res.code === 403) { + // top.location.href = baseUrl; + // } else { + // layer.msg(res.msg) + // } } }); }); -- Gitblit v1.9.1