头像展示、设备新增弹窗滚动位置优化
This commit is contained in:
@ -137,7 +137,7 @@ export default {
|
||||
formData.append("avatarfile", data, this.options.filename)
|
||||
uploadAvatar(formData).then(response => {
|
||||
this.open = false
|
||||
this.options.img = process.env.VUE_APP_BASE_API + response.imgUrl
|
||||
this.options.img = process.env.VUE_APP_IMG_URL + response.imgUrl
|
||||
store.commit('SET_AVATAR', this.options.img)
|
||||
this.$modal.msgSuccess("修改成功")
|
||||
this.visible = false
|
||||
|
||||
Reference in New Issue
Block a user