mirror of
https://github.com/zuiidea/antd-admin
synced 2026-10-29 12:37:20 +00:00
favicon
This commit is contained in:
+2
-2
@@ -62,14 +62,14 @@ const App = ({ children, location, dispatch, app, loading }) => {
|
||||
return <div>{children}</div>
|
||||
}
|
||||
|
||||
const { iconFontJS, iconFontCSS } = config
|
||||
const { iconFontJS, iconFontCSS, logo } = config
|
||||
|
||||
return (
|
||||
<div>
|
||||
<Helmet>
|
||||
<title>ANTD ADMIN</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="icon" href={config.logoSrc} type="image/x-icon" />
|
||||
<link rel="icon" href={logo} type="image/x-icon" />
|
||||
{iconFontJS && <script src={iconFontJS}></script>}
|
||||
{iconFontCSS && <link rel="stylesheet" href={iconFontCSS} />}
|
||||
</Helmet>
|
||||
|
||||
Reference in New Issue
Block a user