修改导出封装组件
This commit is contained in:
@@ -96,7 +96,8 @@ export default {
|
||||
},
|
||||
// 上传成功
|
||||
handleAvatarSuccess(file){
|
||||
this.imageUrl = file.data.base_url+file.data.filename;
|
||||
// file.data.base_url
|
||||
this.imageUrl = this.oss.host+'/'+file.data.filename;
|
||||
this.$emit('parentParams',this.imageUrl);
|
||||
},
|
||||
// 上传失败
|
||||
|
||||
@@ -101,7 +101,8 @@ export default {
|
||||
},
|
||||
// 上传成功
|
||||
handleAvatarSuccess(file){
|
||||
let imageUrl = file.data.base_url+file.data.filename;
|
||||
// file.data.base_url
|
||||
let imageUrl = this.oss.host+'/'+file.data.filename;
|
||||
this.imageList.push(imageUrl)
|
||||
this.$emit('parentParams',this.imageList);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user