xuyifeng-0724-人员中台对接-pet
parent
a7977961f6
commit
8661466a76
|
@ -290,7 +290,7 @@ export default {
|
|||
}
|
||||
}
|
||||
}
|
||||
this.imgUrl = config.httpurl + data.userPhoto
|
||||
this.imgUrl = config.fileUrl + data.userPhoto
|
||||
})
|
||||
.catch((e) => {
|
||||
MessageBox.alert('登录失效,请重新登录', {
|
||||
|
@ -444,11 +444,11 @@ export default {
|
|||
|
||||
formData.append('FFILE', this.FFILE)
|
||||
upload(
|
||||
'/photo/saveNew',
|
||||
'/photo/save',
|
||||
formData
|
||||
).then((data) => {
|
||||
this.dialogForm = false
|
||||
this.imgUrl = config.httpurl + data.userPhoto
|
||||
this.imgUrl = config.fileUrl + data.userPhoto
|
||||
loading.close()
|
||||
}).catch((e) => {
|
||||
loading.close()
|
||||
|
|
Loading…
Reference in New Issue