From ff8a05baaf7418378909ea9cddc526b4a04e70d1 Mon Sep 17 00:00:00 2001 From: luohairen <3399054449@qq.com> Date: 星期五, 01 十一月 2024 16:01:01 +0800 Subject: [PATCH] 教师修改密码 --- src/views/profile/index.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/views/profile/index.vue b/src/views/profile/index.vue index 14435db..240fa65 100644 --- a/src/views/profile/index.vue +++ b/src/views/profile/index.vue @@ -16,6 +16,9 @@ <el-tab-pane label="璐﹀彿" name="account"> <account :user-info="userInfo" /> </el-tab-pane> + <el-tab-pane label="淇敼瀵嗙爜" name="editPassword"> + <editPassword :user-info="userInfo" /> + </el-tab-pane> </el-tabs> </el-card> </el-col> @@ -29,6 +32,7 @@ import UserCard from './components/UserCard' import Timeline from './components/Timeline' import Account from './components/Account' +import EditPassword from './components/EditPassword' import userApi from '@/api/user' export default { @@ -45,7 +49,7 @@ } } }, - components: { UserCard, Timeline, Account }, + components: { UserCard, Timeline, Account, EditPassword }, created () { let _this = this userApi.getCurrentUser().then(re => { -- Gitblit v1.8.0