Authored by weiqingting

图片上传bug

... ... @@ -171,7 +171,7 @@ edit.prototype = {
},
'onComplete': function(response) {
if (response.status && response.code == 200) {
var _w = $(this).next().find('.fileinput-button-icon');
var _w = $(this).parent().find('.fileinput-button-icon');
var _img = $('img', _w).add('video', _w);
if (_img.length > 0) {
_img.attr("src", response.data);
... ...