diff --git a/src/views/system/user/userInfo/index.vue b/src/views/system/user/userInfo/index.vue
index 85ef1db..bc887eb 100644
--- a/src/views/system/user/userInfo/index.vue
+++ b/src/views/system/user/userInfo/index.vue
@@ -15,12 +15,12 @@
src="https://godolphinx.org/dolphin1024x1024.png"
:size="80"
/>
-
@@ -32,25 +32,25 @@
- 研发部
+ {{ getUserInfo.deptName }}
- 1827945911@qq.com
+ {{ getUserInfo.email }}
- 15374801233
+ {{ getUserInfo.phone }}
- 男
+ {{ ~~getUserInfo.sex === 0 ? '男' : '女' }}
@@ -76,8 +76,8 @@
:active-tab-key="state.currentCardKey"
@tabChange="key => state.currentCardKey = key"
>
-
- 上传头像待开发中。。。
+
+ 上传头像待开发中。。。
@@ -152,6 +152,8 @@
}
}
+ const getUserInfo = computed((): User & any => state.userInfo ? state.userInfo : {});
+
const getLabelStyle = computed((): CSSProperties => ({
fontSize: '14px',
display: 'inline',