|
@ -66,19 +66,21 @@ const Header = props => { |
|
|
label: <span style={{ color: 'aliceblue' }}>{user.displayName}</span>, |
|
|
label: <span style={{ color: 'aliceblue' }}>{user.displayName}</span>, |
|
|
key: "user", |
|
|
key: "user", |
|
|
icon: <img className={styles['header-nav-user-img']} src={`/assets/images/avatar/5.png`} />, |
|
|
icon: <img className={styles['header-nav-user-img']} src={`/assets/images/avatar/5.png`} />, |
|
|
children: [{ |
|
|
children: [ |
|
|
label: '退出', key: 'logout' |
|
|
{ |
|
|
}, |
|
|
icon: <UserOutlined />, |
|
|
{ |
|
|
label: <ResetPasswordModal |
|
|
label: <ResetPasswordModal |
|
|
editData={user} |
|
|
editData={user} |
|
|
triggerRender={<a>重置密码</a>} |
|
|
triggerRender={<a>重置密码</a>} |
|
|
title="重置密码" |
|
|
title="重置密码" |
|
|
onFinish={onFinish} |
|
|
onFinish={onFinish} |
|
|
key="resetPassword" |
|
|
key="resetPassword" |
|
|
/>, |
|
|
/>, |
|
|
key: 'resetPassword' |
|
|
key: 'resetPassword' |
|
|
}, |
|
|
} |
|
|
{ |
|
|
|
|
|
label: '退出', key: 'logout', icon: <LogoutOutlined /> |
|
|
|
|
|
}, |
|
|
], |
|
|
], |
|
|
}]} |
|
|
}]} |
|
|
/> |
|
|
/> |
|
|