diff --git a/app/admin/view/api/upload.js b/app/admin/view/api/upload.js index f1e7adb17..ba2ad2520 100644 --- a/app/admin/view/api/upload.js +++ b/app/admin/view/api/upload.js @@ -188,7 +188,13 @@ define(['md5', 'notify'], function (SparkMD5, Notify, allowMime) { }); } else if (parseInt(ret.code) === 200) { (file.xurl = ret.data.url), that.progress('100.00', file); - that.done({code: 1, url: file.xurl, info: file.xstats}, file.index, file, done, '{:lang("文件秒传成功!")}'); + that.done({ + code: 1, + info: '{:lang("文件秒传成功!")}', + data: { + url: file.xurl, + } + }, file.index, file, done, '{:lang("文件秒传成功!")}'); } else { that.event('upload.error', {file: file}, file, ret.info || ret.error.message || '{:lang("文件上传出错!")}'); }