动态菜单和动态路由的 antd pro

12345678910111213
  1. import * as React from 'react';
  2. export interface IExceptionProps {
  3. type?: '403' | '404' | '500';
  4. title?: React.ReactNode;
  5. desc?: React.ReactNode;
  6. img?: string;
  7. actions?: React.ReactNode;
  8. linkElement?: React.ReactNode;
  9. style?: React.CSSProperties;
  10. }
  11. export default class Exception extends React.Component<IExceptionProps, any> {}