mirror of https://gitee.com/y_project/RuoYi.git
修复代码生成模板文件上传组件缺少ctx的问题
parent
260370c328
commit
5332756526
|
@ -223,7 +223,7 @@
|
|||
$(".file-upload").each(function (i) {
|
||||
var val = $("input[name='" + this.id + "']").val()
|
||||
$(this).fileinput({
|
||||
'uploadUrl': '/common/upload',
|
||||
'uploadUrl': ctx + 'common/upload',
|
||||
initialPreviewAsData: true,
|
||||
initialPreview: [val],
|
||||
maxFileCount: 1,
|
||||
|
|
Loading…
Reference in New Issue