From 3988b12e72bf358465acec90c135c1f58621d1d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=B8=85=28=CC=B3=E2=80=A2=E2=80=A2=CC=B3=29=E0=B8=85?= =?UTF-8?q?=E5=A4=A7=E6=AD=A5?= Date: Wed, 26 Feb 2020 14:30:29 +0800 Subject: [PATCH] =?UTF-8?q?update=20ruoyi-admin/src/main/resources/static/?= =?UTF-8?q?ruoyi/js/ry-ui.js.=20=E6=94=AF=E6=8C=81=E5=AF=BC=E5=85=A5?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF=E7=9A=84=E8=A1=A8=E5=8D=95=E5=8F=AF=E4=BB=A5?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=99=A4=E4=BA=86file=E3=80=81updateSupport?= =?UTF-8?q?=E4=B9=8B=E5=A4=96=E7=9A=84=E8=BE=93=E5=85=A5=E6=8E=A7=E4=BB=B6?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js b/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js index 18bec8f86..1badba6eb 100644 --- a/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js +++ b/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js @@ -400,9 +400,9 @@ var table = { } var index = layer.load(2, {shade: false}); $.modal.disable(); - var formData = new FormData(); - formData.append("file", layero.find('#file')[0].files[0]); - formData.append("updateSupport", $("input[name='updateSupport']").is(':checked')); + var formData = new FormData(layero.find('form')[0]); + //formData.append("file", layero.find('#file')[0].files[0]); + //formData.append("updateSupport", $("input[name='updateSupport']").is(':checked')); $.ajax({ url: table.options.importUrl, data: formData,