Authored by mali

图片上传的接口切换

@@ -428,7 +428,7 @@ @@ -428,7 +428,7 @@
428 onLoadSuccess: function (data) { 428 onLoadSuccess: function (data) {
429 $.messager.progress("close"); 429 $.messager.progress("close");
430 $(document).find('.file-close').click(); 430 $(document).find('.file-close').click();
431 - that.dom.imageUpload.before('<div class="img" data-url="' + data.data + '" style="background-image:url(' + data.data.url + ');">'); 431 + that.dom.imageUpload.before('<div class="img" data-url="' + data.data + '" style="background-image:url(' + data.data + ');">');
432 return false; 432 return false;
433 } 433 }
434 }); 434 });