From 260370c32873710c423f410661879fa33f169635 Mon Sep 17 00:00:00 2001 From: Ricky Date: Mon, 19 Oct 2020 12:44:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BB=A3=E7=A0=81=E7=94=9F?= =?UTF-8?q?=E6=88=90=E6=A8=A1=E6=9D=BF=E6=96=87=E4=BB=B6=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E7=BC=BA=E5=B0=91ctx=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-generator/src/main/resources/vm/html/add.html.vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-generator/src/main/resources/vm/html/add.html.vm b/ruoyi-generator/src/main/resources/vm/html/add.html.vm index 80b8ffffc..d4e67f8c0 100644 --- a/ruoyi-generator/src/main/resources/vm/html/add.html.vm +++ b/ruoyi-generator/src/main/resources/vm/html/add.html.vm @@ -221,7 +221,7 @@ #if($column.edit && !$column.superColumn && !$column.pk && $column.htmlType == "upload") $(".file-upload").fileinput({ - uploadUrl: '/common/upload', + uploadUrl: ctx + 'common/upload', maxFileCount: 1, autoReplace: true }).on('fileuploaded', function (event, data, previewId, index) {