个人设置和验证码
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user