소스 검색

调整参数

yfh 1 일 전
부모
커밋
2701bd4f6e
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/views/company/companyUser/profile/userAvatar.vue

+ 1 - 0
src/views/company/companyUser/profile/userAvatar.vue

@@ -129,6 +129,7 @@ export default {
           if (response.code === 200) {
             this.open = false;
             this.options.img = response.imgUrl;
+            this.user.avatar = response.imgUrl;
             store.commit('SET_AVATAR', this.options.img);
             this.msgSuccess("修改成功");
           }