houzhongfei
2022-12-14 53ae4ea6bc1a1bb4e20b7591e7b4d42da8fcb05e
ruoyi-ui/src/views/system/user/profile/index.vue
@@ -49,7 +49,7 @@
              <userInfo :user="user" />
            </el-tab-pane>
            <el-tab-pane label="修改密码" name="resetPwd">
              <resetPwd :user="user" />
              <resetPwd />
            </el-tab-pane>
          </el-tabs>
        </el-card>
@@ -81,9 +81,9 @@
  methods: {
    getUser() {
      getUserProfile().then(response => {
        this.user = response.data;
        this.roleGroup = response.roleGroup;
        this.postGroup = response.postGroup;
        this.user = response.data.user;
        this.roleGroup = response.data.roleGroup;
        this.postGroup = response.data.postGroup;
      });
    }
  }