mirror of https://gitee.com/y_project/RuoYi.git
修复代码生成模板文件上传组件缺少ctx的问题
parent
707b51b247
commit
260370c328
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue