xuyifeng-0724-人员中台对接-pet
liy 2024-06-20 10:48:10 +08:00
parent a7977961f6
commit 8661466a76
1 changed files with 3 additions and 3 deletions

View File

@ -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()