修复curd中,上传文件默认扩展错误的问题;

This commit is contained in:
2022-04-09 16:44:23 +08:00
parent 9d26daf302
commit fa0239f168

View File

@@ -1379,6 +1379,10 @@ define(["jquery", "tableSelect", "ckeditor"], function ($, tableSelect, undefine
elem = "input[name='" + uploadName + "']",
uploadElem = this;
if (uploadExts == '*') {
uploadExts = init.upload_exts;
}
// 监听上传事件
upload.render({
elem: this,