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) => {
|
.catch((e) => {
|
||||||
MessageBox.alert('登录失效,请重新登录', {
|
MessageBox.alert('登录失效,请重新登录', {
|
||||||
|
@ -444,11 +444,11 @@ export default {
|
||||||
|
|
||||||
formData.append('FFILE', this.FFILE)
|
formData.append('FFILE', this.FFILE)
|
||||||
upload(
|
upload(
|
||||||
'/photo/saveNew',
|
'/photo/save',
|
||||||
formData
|
formData
|
||||||
).then((data) => {
|
).then((data) => {
|
||||||
this.dialogForm = false
|
this.dialogForm = false
|
||||||
this.imgUrl = config.httpurl + data.userPhoto
|
this.imgUrl = config.fileUrl + data.userPhoto
|
||||||
loading.close()
|
loading.close()
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
loading.close()
|
loading.close()
|
||||||
|
|
Loading…
Reference in New Issue