|
@@ -2,38 +2,40 @@ import { useIntl } from 'umi';
|
2
|
2
|
import { GithubOutlined } from '@ant-design/icons';
|
3
|
3
|
import { DefaultFooter } from '@ant-design/pro-layout';
|
4
|
4
|
|
5
|
|
-const Footer = () => {
|
6
|
|
- const intl = useIntl();
|
7
|
|
- const defaultMessage = intl.formatMessage({
|
8
|
|
- id: 'app.copyright.produced',
|
9
|
|
- defaultMessage: '云致科技',
|
10
|
|
- });
|
11
|
|
- const currentYear = new Date().getFullYear();
|
12
|
|
- return (
|
13
|
|
- <DefaultFooter
|
14
|
|
- copyright={`${currentYear} ${defaultMessage}`}
|
15
|
|
- // links={[
|
16
|
|
- // {
|
17
|
|
- // key: 'Ant Design Pro',
|
18
|
|
- // title: 'Ant Design Pro',
|
19
|
|
- // href: 'https://pro.ant.design',
|
20
|
|
- // blankTarget: true,
|
21
|
|
- // },
|
22
|
|
- // {
|
23
|
|
- // key: 'github',
|
24
|
|
- // title: <GithubOutlined />,
|
25
|
|
- // href: 'https://github.com/ant-design/ant-design-pro',
|
26
|
|
- // blankTarget: true,
|
27
|
|
- // },
|
28
|
|
- // {
|
29
|
|
- // key: 'Ant Design',
|
30
|
|
- // title: 'Ant Design',
|
31
|
|
- // href: 'https://ant.design',
|
32
|
|
- // blankTarget: true,
|
33
|
|
- // },
|
34
|
|
- // ]}
|
35
|
|
- />
|
36
|
|
- );
|
37
|
|
-};
|
|
5
|
+const Footer = () => <></>
|
|
6
|
+
|
|
7
|
+// const Footer = () => {
|
|
8
|
+// const intl = useIntl();
|
|
9
|
+// const defaultMessage = intl.formatMessage({
|
|
10
|
+// id: 'app.copyright.produced',
|
|
11
|
+// defaultMessage: '云致科技',
|
|
12
|
+// });
|
|
13
|
+// const currentYear = new Date().getFullYear();
|
|
14
|
+// return (
|
|
15
|
+// <DefaultFooter
|
|
16
|
+// copyright={`${currentYear} ${defaultMessage}`}
|
|
17
|
+// // links={[
|
|
18
|
+// // {
|
|
19
|
+// // key: 'Ant Design Pro',
|
|
20
|
+// // title: 'Ant Design Pro',
|
|
21
|
+// // href: 'https://pro.ant.design',
|
|
22
|
+// // blankTarget: true,
|
|
23
|
+// // },
|
|
24
|
+// // {
|
|
25
|
+// // key: 'github',
|
|
26
|
+// // title: <GithubOutlined />,
|
|
27
|
+// // href: 'https://github.com/ant-design/ant-design-pro',
|
|
28
|
+// // blankTarget: true,
|
|
29
|
+// // },
|
|
30
|
+// // {
|
|
31
|
+// // key: 'Ant Design',
|
|
32
|
+// // title: 'Ant Design',
|
|
33
|
+// // href: 'https://ant.design',
|
|
34
|
+// // blankTarget: true,
|
|
35
|
+// // },
|
|
36
|
+// // ]}
|
|
37
|
+// />
|
|
38
|
+// );
|
|
39
|
+// };
|
38
|
40
|
|
39
|
41
|
export default Footer;
|