初始化 antd-pro
This commit is contained in:
13
admin-web/src/pages/404.js
Normal file
13
admin-web/src/pages/404.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import React from 'react';
|
||||
import Link from 'umi/link';
|
||||
import { formatMessage } from 'umi/locale';
|
||||
import Exception from '@/components/Exception';
|
||||
|
||||
export default () => (
|
||||
<Exception
|
||||
type="404"
|
||||
linkElement={Link}
|
||||
desc={formatMessage({ id: 'app.exception.description.404' })}
|
||||
backText={formatMessage({ id: 'app.exception.back' })}
|
||||
/>
|
||||
);
|
||||
Reference in New Issue
Block a user