| | |
| | | <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> |
| | |
| | | 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 { |
| | |
| | | } |
| | | } |
| | | }, |
| | | components: { UserCard, Timeline, Account }, |
| | | components: { UserCard, Timeline, Account, EditPassword }, |
| | | created () { |
| | | let _this = this |
| | | userApi.getCurrentUser().then(re => { |