mirror of https://github.com/chillzhuang/Sword
14 lines
356 B
JavaScript
14 lines
356 B
JavaScript
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' })}
|
|
/>
|
|
);
|