You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
536 B
19 lines
536 B
import React, { Component } from 'react';
|
|
import { formatMessage } from 'umi/locale';
|
|
import { Link } from 'dva/router';
|
|
import Exception from '@/components/Exception';
|
|
|
|
class Exception404 extends Component {
|
|
render() {
|
|
return (
|
|
<Exception
|
|
type="404"
|
|
desc={formatMessage({ id: 'app.exception.description.404' }, {})}
|
|
style={{ minHeight: 500, height: '80%' }}
|
|
linkElement={Link}
|
|
backText={formatMessage({ id: 'app.exception.back' })}
|
|
/>
|
|
);
|
|
}
|
|
}
|
|
export default Exception404;
|
|
|