refine avatarUpload demo

This commit is contained in:
Pan
2017-04-28 10:02:45 +08:00
parent dfd7ce8d40
commit b2af2ddf02
2 changed files with 7 additions and 6 deletions

View File

@@ -694,7 +694,7 @@
// 上传成功
function(resData) {
that.loading = 2;
that.$emit('crop-upload-success', url);
that.$emit('crop-upload-success', resData);
},
// 上传失败
function(sts) {