style: 隐藏部分控件

This commit is contained in:
TsMask
2023-09-05 17:10:24 +08:00
parent 2d6f358ec8
commit 9b443b0a2a
3 changed files with 59 additions and 7 deletions

View File

@@ -54,7 +54,7 @@ let listData = ref([
/**查询用户个人信息 */
function fnGetProfile() {
getUserProfile().then(res => {
if (res.code === 200 && res.data) {
if (res.code === 1 && res.data) {
const { user, roleGroup, postGroup } = res.data;
state.user = user;
state.roleGroup = roleGroup;