个人设置和验证码

This commit is contained in:
2021-06-30 11:42:59 +08:00
parent ec04cbfdc5
commit 5954dac87b
8 changed files with 1374 additions and 3 deletions

View File

@@ -34,7 +34,14 @@ class User extends Component {
this.unsubscribe()
}
onAccountSetting = () => {}
onAccountSetting = () => {
window.openContentWindow({
id: 'account-home',
title: '个人设置',
icon: '',
path: '/system/account',
})
}
onLogout = () => {
Modal.confirm({
@@ -83,7 +90,7 @@ class User extends Component {
</div>
<Menu selectable={false}>
<Menu.Divider />
<Menu.Item key="1">
<Menu.Item key="1" onClick={() => this.onAccountSetting()}>
<AntIcon type="user" className="mr-sm" />
个人中心
</Menu.Item>