fix(components): 用户信息接口调整

This commit is contained in:
ronger 2024-02-20 19:14:38 +08:00
parent 8fc8c56e80
commit 4a93f838f3

View File

@ -107,13 +107,7 @@ export default {
getData() {
let _ts = this;
_ts.$axios.$get('/api/user-info/detail/' + _ts.idUser).then(function (res) {
if (res) {
if (res.message) {
_ts.$message.error(res.message);
} else {
_ts.$set(_ts, 'user', res.user);
}
}
_ts.$set(_ts, 'user', res);
})
},
hideChangeEmailDialog() {