diff --git a/src/assets/avatar.jpg b/src/assets/avatar.jpg new file mode 100644 index 0000000..3d97e0f Binary files /dev/null and b/src/assets/avatar.jpg differ diff --git a/src/router/authentication.js b/src/router/authentication.js index 74430e9..9b5ebe7 100644 --- a/src/router/authentication.js +++ b/src/router/authentication.js @@ -2,11 +2,11 @@ import Login from '../views/authentication/Login.vue' import Register from '../views/authentication/Register.vue' import ManageProfile from '../views/authentication/ManageProfile.vue' -// import Profile from '../views/authentication/Profile.vue' +import Profile from '../views/authentication/Profile.vue' export default [ { path: '/login', component: Login }, { path: '/register', component: Register }, { path: '/manageProfile', component: ManageProfile }, - // { path: '/profile', component: Profile } + { path: '/profile', component: Profile }, ] diff --git a/src/views/authentication/Profile.vue b/src/views/authentication/Profile.vue new file mode 100644 index 0000000..54d6225 --- /dev/null +++ b/src/views/authentication/Profile.vue @@ -0,0 +1,107 @@ + + + + + + 个人信息 + + + + + + + 用户昵称: + {{ nickname }} + + + + 手机号码: + {{ phoneNumber }} + + + + 用户邮箱: + {{ email }} + + + + 所属部门: + {{ department }} + + + + 所属角色: + {{ role }} + + + + 创建日期: + {{ createdAt }} + + + + + + + +