feat translation of the user module
Signed-off-by: jingyang <3161362058@qq.com>
This commit is contained in:
@@ -32,11 +32,36 @@ enum TabEnum {
|
||||
|
||||
const Account = ({ currentTab }: { currentTab: `${TabEnum}` }) => {
|
||||
const tabList = useRef([
|
||||
{ icon: 'meLight', label: '个人信息', id: TabEnum.info, Component: <BillTable /> },
|
||||
{ icon: 'billRecordLight', label: '使用记录', id: TabEnum.bill, Component: <BillTable /> },
|
||||
{ icon: 'payRecordLight', label: '充值记录', id: TabEnum.pay, Component: <PayRecordTable /> },
|
||||
{ icon: 'informLight', label: '通知', id: TabEnum.inform, Component: <InformTable /> },
|
||||
{ icon: 'loginoutLight', label: '登出', id: TabEnum.loginout, Component: () => <></> }
|
||||
{
|
||||
icon: 'meLight',
|
||||
label: 'user.Personal Information',
|
||||
id: TabEnum.info,
|
||||
Component: <BillTable />
|
||||
},
|
||||
{
|
||||
icon: 'billRecordLight',
|
||||
label: 'user.Usage Record',
|
||||
id: TabEnum.bill,
|
||||
Component: <BillTable />
|
||||
},
|
||||
{
|
||||
icon: 'payRecordLight',
|
||||
label: 'user.Recharge Record',
|
||||
id: TabEnum.pay,
|
||||
Component: <PayRecordTable />
|
||||
},
|
||||
{
|
||||
icon: 'informLight',
|
||||
label: 'user.Notice',
|
||||
id: TabEnum.inform,
|
||||
Component: <InformTable />
|
||||
},
|
||||
{
|
||||
icon: 'loginoutLight',
|
||||
label: 'user.Sign Out',
|
||||
id: TabEnum.loginout,
|
||||
Component: () => <></>
|
||||
}
|
||||
]);
|
||||
|
||||
const { openConfirm, ConfirmModal } = useConfirm({
|
||||
|
||||
Reference in New Issue
Block a user