Commit edd97dcf authored by hujun's avatar hujun

1

parent b85e197c
...@@ -821,7 +821,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css', ...@@ -821,7 +821,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
//上传图片 //上传图片
uploadImg : function(_this){ uploadImg : function(_this){
var formData = new FormData(); var formData = new FormData();
formData.append('type', 'shop_image_depot'); formData.append('type', 'chat');
formData.append('image', _this[0].files[0]); formData.append('image', _this[0].files[0]);
$.ajax({ $.ajax({
type: 'post', type: 'post',
......
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