Remove pages
This commit is contained in:
@@ -83,14 +83,6 @@ const AccountPage: React.FC<DispatchProp & UserModelState & AccountModelState> =
|
|||||||
className="group"
|
className="group"
|
||||||
title="account.loginPwd"
|
title="account.loginPwd"
|
||||||
/>
|
/>
|
||||||
<AccountItem
|
|
||||||
className="group"
|
|
||||||
title="account.fundPwd"
|
|
||||||
/>
|
|
||||||
<AccountItem
|
|
||||||
className="group"
|
|
||||||
title="account.factor"
|
|
||||||
/>
|
|
||||||
<Button
|
<Button
|
||||||
className={styles.logout}
|
className={styles.logout}
|
||||||
size="large"
|
size="large"
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ const HomePage: React.FC<RouterTypes & DispatchProp & HomeModelState> = ({
|
|||||||
location: { pathname },
|
location: { pathname },
|
||||||
children,
|
children,
|
||||||
}) => {
|
}) => {
|
||||||
if (pathname === '/home') return <Redirect to="/home/home" />
|
if (pathname === '/home') return <Redirect to="/home/estate" />
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={styles.home}>
|
<div className={styles.home}>
|
||||||
|
|||||||
@@ -18,12 +18,12 @@ export interface HomeModelState {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const tabItems: TabItemModels = [
|
const tabItems: TabItemModels = [
|
||||||
{
|
// {
|
||||||
key: '/home/home',
|
// key: '/home/home',
|
||||||
name: 'home.tabHome',
|
// name: 'home.tabHome',
|
||||||
icon: homeIcon,
|
// icon: homeIcon,
|
||||||
iconSelected: homeIconS,
|
// iconSelected: homeIconS,
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
key: '/home/estate',
|
key: '/home/estate',
|
||||||
name: 'home.tabEstate',
|
name: 'home.tabEstate',
|
||||||
|
|||||||
@@ -48,16 +48,6 @@ const ProfilePage: React.FC<UserModelState & DispatchProp> = ({
|
|||||||
title="profile.system"
|
title="profile.system"
|
||||||
onClick={() => dispatch(routerRedux.push('/system'))}
|
onClick={() => dispatch(routerRedux.push('/system'))}
|
||||||
/>
|
/>
|
||||||
<SettingItem
|
|
||||||
className="group"
|
|
||||||
logo={logoIdentity}
|
|
||||||
title="profile.identity"
|
|
||||||
/>
|
|
||||||
<SettingItem
|
|
||||||
className="group"
|
|
||||||
logo={logoMsg}
|
|
||||||
title="profile.msg"
|
|
||||||
/>
|
|
||||||
<SettingItem
|
<SettingItem
|
||||||
className="group"
|
className="group"
|
||||||
logo={logoAbout}
|
logo={logoAbout}
|
||||||
|
|||||||
Reference in New Issue
Block a user