From 56c90aa50b016ec2f3457fff6431282d9a506930 Mon Sep 17 00:00:00 2001 From: fay Date: Thu, 26 Jul 2018 19:18:42 +0800 Subject: [PATCH] update --- src/base/single/input/file.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/single/input/file.js b/src/base/single/input/file.js index cd1b9fe9c..cbcb572c2 100644 --- a/src/base/single/input/file.js +++ b/src/base/single/input/file.js @@ -306,7 +306,7 @@ }); } }; - form.setAttribute("action", handler.url); + form.setAttribute("action", handler.url + "&filename=" + window.encodeURIComponent(handler.file.fileName)); form.setAttribute("target", iframe.id); form.setAttribute("method", "post"); form.appendChild(handler.file);