index.tsx 691 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * @Author: your name
  3. * @Date: 2021-09-03 14:28:27
  4. * @LastEditTime: 2021-11-24 15:33:11
  5. * @LastEditors: Please set LastEditors
  6. * @Description: In User Settings Edit
  7. * @FilePath: /MedicalWisdomCheckSys/src/components/Footer/index.tsx
  8. */
  9. import { DefaultFooter } from '@ant-design/pro-layout';
  10. const packageinfo = require('../../../package.json');
  11. export default () => {
  12. const currentYear = new Date().getFullYear();
  13. return (
  14. <DefaultFooter
  15. copyright={`${currentYear} 康程智医技术出品`}
  16. links={[
  17. {
  18. key: '',
  19. title:`v${packageinfo.version}`,
  20. href: '',
  21. blankTarget: true,
  22. }
  23. ]}
  24. />
  25. );
  26. };