|
@@ -153,7 +153,7 @@ export default {
|
|
|
this.ruleForm.status_name = this.options.find(i => i.id === val).name
|
|
this.ruleForm.status_name = this.options.find(i => i.id === val).name
|
|
|
},
|
|
},
|
|
|
handleAvatarSuccess(res, file) {
|
|
handleAvatarSuccess(res, file) {
|
|
|
- this.ruleForm.img = URL.createObjectURL(file.raw);
|
|
|
|
|
|
|
+ this.ruleForm.img = res.data.file_url_abs
|
|
|
},
|
|
},
|
|
|
beforeAvatarUpload(file) {
|
|
beforeAvatarUpload(file) {
|
|
|
return true
|
|
return true
|