@@ -2,7 +2,7 @@ import { useStore } from 'rcl-store';
22import { useTranslation } from 'react-i18next' ;
33import { useNavigate } from 'react-router-dom' ;
44
5- import { LogoutOutlined , SettingOutlined , UserOutlined } from '@react-devui/icons' ;
5+ import { LockOutlined , LogoutOutlined , SettingOutlined , UserOutlined } from '@react-devui/icons' ;
66import { DAvatar , DDropdown } from '@react-devui/ui' ;
77
88import { LOGIN_PATH } from '../../../../config/other' ;
@@ -18,7 +18,8 @@ export function AppUser(props: React.ButtonHTMLAttributes<HTMLButtonElement>): J
1818 style = { { minWidth : 160 } }
1919 dList = { [
2020 { id : 'center' , label : t ( 'routes.layout.Account Center' ) , type : 'item' , icon : < UserOutlined /> } ,
21- { id : 'setting' , label : t ( 'routes.layout.Account Settings' ) , type : 'item' , icon : < SettingOutlined /> , separator : true } ,
21+ { id : 'setting' , label : t ( 'routes.layout.Account Settings' ) , type : 'item' , icon : < SettingOutlined /> } ,
22+ { id : 'password' , label : t ( 'routes.layout.Change Password' ) , type : 'item' , icon : < LockOutlined /> , separator : true } ,
2223 { id : 'logout' , label : t ( 'routes.layout.Logout' ) , type : 'item' , icon : < LogoutOutlined /> } ,
2324 ] }
2425 dTrigger = "click"
0 commit comments