|
@@ -146,7 +146,7 @@ export default {
|
|
|
this.centerDialogVisible = true;
|
|
this.centerDialogVisible = true;
|
|
|
},
|
|
},
|
|
|
handleAvatarSuccess(res, file) {
|
|
handleAvatarSuccess(res, file) {
|
|
|
- this.ruleForm.url = res.data.file_url;
|
|
|
|
|
|
|
+ this.ruleForm.url = res.data.file_url_abs;
|
|
|
},
|
|
},
|
|
|
beforeAvatarUpload(file) {
|
|
beforeAvatarUpload(file) {
|
|
|
const isJPG = file.type === 'image/jpeg' || file.type === 'image/png';
|
|
const isJPG = file.type === 'image/jpeg' || file.type === 'image/png';
|