Commit b9f6b7d8 authored by agping's avatar agping

商学院 获取文件名称

parent 2ad976eb
......@@ -132,7 +132,7 @@ define(['doT', 'text!temp/schoolBusiness_template_tpl.html', 'ckfinder', 'ckfind
var formData = new FormData();
formData.append('type', 'business_school_file');
formData.append('image', _this[0].files[0]);
console.log(formData);
formData.append('name', _this[0].files[0].name);
$.ajax({
type: 'post',
url: '/index/uploadImg',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment