mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-04-26 01:00:50 +08:00
update 请求响应对象 与 分页对象 结构修改 适配接口文档配置
This commit is contained in:
@@ -126,7 +126,7 @@ export default {
|
||||
formData.append("avatarfile", data);
|
||||
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_BASE_API + response.data.imgUrl;
|
||||
store.commit('SET_AVATAR', this.options.img);
|
||||
this.msgSuccess("修改成功");
|
||||
this.visible = false;
|
||||
|
||||
Reference in New Issue
Block a user