修复代码生成模板文件上传组件缺少ctx的问题

pull/224/MERGE
Ricky 4 years ago
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…
Cancel
Save