From b6019b10ba9b9b98d63a77c6d340fc049b3aa99f Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 07 二月 2024 20:17:17 +0800
Subject: [PATCH] #
---
zy-asrs-flow/src/components/Footer/index.jsx | 27 +++++++++++++
/dev/null | 35 -----------------
zy-asrs-flow/tsconfig.json | 2
3 files changed, 28 insertions(+), 36 deletions(-)
diff --git a/zy-asrs-flow/src/components/Footer/index.jsx b/zy-asrs-flow/src/components/Footer/index.jsx
new file mode 100644
index 0000000..b0eb9e8
--- /dev/null
+++ b/zy-asrs-flow/src/components/Footer/index.jsx
@@ -0,0 +1,27 @@
+import { GithubOutlined } from '@ant-design/icons';
+import { DefaultFooter } from '@ant-design/pro-components';
+import React from 'react';
+
+const Footer = () => {
+ return (
+ <DefaultFooter
+ style={{
+ background: 'none',
+ }}
+ links={[
+ {
+ key: 'Vincent Admin',
+ title: 'Vincent Admin',
+ },
+ {
+ key: 'github',
+ title: <GithubOutlined />,
+ href: 'https://github.com/luxiaotao1123',
+ blankTarget: true,
+ },
+ ]}
+ />
+ );
+};
+
+export default Footer;
diff --git a/zy-asrs-flow/src/components/Footer/index.tsx b/zy-asrs-flow/src/components/Footer/index.tsx
deleted file mode 100644
index f204ac2..0000000
--- a/zy-asrs-flow/src/components/Footer/index.tsx
+++ /dev/null
@@ -1,35 +0,0 @@
-import { GithubOutlined } from '@ant-design/icons';
-import { DefaultFooter } from '@ant-design/pro-components';
-import React from 'react';
-
-const Footer: React.FC = () => {
- return (
- <DefaultFooter
- style={{
- background: 'none',
- }}
- links={[
- {
- key: 'Ant Design Pro',
- title: 'Ant Design Pro',
- href: 'https://pro.ant.design',
- blankTarget: true,
- },
- {
- key: 'github',
- title: <GithubOutlined />,
- href: 'https://github.com/ant-design/ant-design-pro',
- blankTarget: true,
- },
- {
- key: 'Ant Design',
- title: 'Ant Design',
- href: 'https://ant.design',
- blankTarget: true,
- },
- ]}
- />
- );
-};
-
-export default Footer;
diff --git a/zy-asrs-flow/tsconfig.json b/zy-asrs-flow/tsconfig.json
index c3233a3..8b087b1 100644
--- a/zy-asrs-flow/tsconfig.json
+++ b/zy-asrs-flow/tsconfig.json
@@ -19,5 +19,5 @@
"@@test/*": ["./src/.umi-test/*"]
}
},
- "include": ["./**/*.d.ts", "./**/*.ts", "./**/*.tsx", "src/app.tsx", "src/utils/icon-util.js", "src/pages/User/Login/index.jsx"]
+ "include": ["./**/*.d.ts", "./**/*.ts", "./**/*.tsx", "src/app.tsx", "src/utils/icon-util.js", "src/pages/User/Login/index.jsx", "src/components/Footer/index.jsx"]
}
--
Gitblit v1.9.1