Remove pages

This commit is contained in:
saplf
2019-09-04 16:14:16 +08:00
parent 254cc52585
commit df25ff4244
4 changed files with 7 additions and 25 deletions

View File

@@ -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"

View File

@@ -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}>

View File

@@ -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',

View File

@@ -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}