fix site name in top layout
This commit is contained in:
parent
94237bf06b
commit
e333e08410
|
@ -3,6 +3,7 @@ import Link from 'umi/link';
|
|||
import RightContent from '../GlobalHeader/RightContent';
|
||||
import BaseMenu from '../SiderMenu/BaseMenu';
|
||||
import styles from './index.less';
|
||||
import { formatMessage, FormattedMessage } from 'umi/locale';
|
||||
|
||||
export default class TopNavHeader extends PureComponent {
|
||||
state = {
|
||||
|
@ -30,7 +31,7 @@ export default class TopNavHeader extends PureComponent {
|
|||
<div className={styles.logo} key="logo" id="logo">
|
||||
<Link to="/">
|
||||
<img src={logo} alt="logo" />
|
||||
<h1>Logging Center</h1>
|
||||
<h1>{formatMessage({ id: 'app.setting.appname' })}</h1>
|
||||
</Link>
|
||||
</div>
|
||||
<div
|
||||
|
|
|
@ -3,6 +3,8 @@ export default {
|
|||
|
||||
'layout.user.appname':"INFINI SEARCH CENTER",
|
||||
'layout.user.appslogon':"INFINI search center is the best search platform in the world",
|
||||
'app.setting.appname':"Search Center",
|
||||
|
||||
|
||||
'layout.user.link.help': 'Help',
|
||||
'layout.user.link.privacy': 'Privacy',
|
||||
|
@ -202,9 +204,6 @@ export default {
|
|||
'app.monitor.popular-searches': 'Popular Searches',
|
||||
'app.monitor.resource-surplus': 'Resource Surplus',
|
||||
'app.monitor.fund-surplus': 'Fund Surplus',
|
||||
|
||||
'app.setting.appname':"Search Center",
|
||||
|
||||
|
||||
'app.settings.security.update':"Update Setting",
|
||||
'app.settings.global.update':"Update Setting",
|
||||
|
|
|
@ -3,6 +3,7 @@ export default {
|
|||
|
||||
'layout.user.appname':"极限搜索管理后台",
|
||||
'layout.user.appslogon':"极限科技的搜索平台是东半球最好用的搜索服务平台",
|
||||
'app.setting.appname':"极限搜索中心",
|
||||
|
||||
'layout.user.link.help': '帮助',
|
||||
'layout.user.link.privacy': '隐私',
|
||||
|
@ -212,7 +213,6 @@ export default {
|
|||
'app.monitor.resource-surplus': '资源剩余',
|
||||
'app.monitor.fund-surplus': '补贴资金剩余',
|
||||
|
||||
'app.setting.appname':"极限搜索中心",
|
||||
|
||||
'app.settings.security.update':"更新设置",
|
||||
'app.settings.global.update':"更新设置",
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>INFINI</title>
|
||||
<link rel="icon" href="/public/favicon.ico" type="image/x-icon">
|
||||
<link rel="icon" href="/favicon.ico" type="image/x-icon">
|
||||
<script src="https://gw.alipayobjects.com/os/antv/pkg/_antv.data-set-0.9.6/dist/data-set.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
|
Loading…
Reference in New Issue