| | |
| | | import React, {Component} from 'react' |
| | | import React, { Component } from 'react' |
| | | import Lostsvg from '@/components/lostsvg' |
| | | import zhCN from '@/locales/zh-CN/main.js' |
| | | import enUS from '@/locales/en-US/main.js' |
| | | import './index.scss' |
| | | |
| | | const _dict = sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS |
| | | |
| | | class NotFound extends Component { |
| | | render () { |
| | |
| | | <Lostsvg /> |
| | | </div> |
| | | <div className="ant-result-title">404</div> |
| | | <div className="ant-result-subtitle">{this.props.msg ? this.props.msg : _dict['main.view.notFound']}</div> |
| | | <div className="ant-result-subtitle">{this.props.msg ? this.props.msg : '抱歉,您访问的页面不存在,请联系管理员。'}</div> |
| | | </div> |
| | | </main> |
| | | ) |