king
2020-03-30 461e4fff4b51d067671244eec63b097cd9012b6e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import React, {Component} from 'react'
import Lostsvg from '@/components/lostsvg'
import zhCN from '@/locales/zh-CN/share.js'
import enUS from '@/locales/en-US/share.js'
import './index.scss'
 
const _dict =  sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS
 
class NotFound extends Component {
  render () {
    return (
      <main className="ant-pro-basicLayout-content ant-layout-content box404">
        <div className="ant-result">
          <div className="ant-result-icon ant-result-image">
            <Lostsvg />
          </div>
          <div className="ant-result-title">404</div>
          <div className="ant-result-subtitle">{this.props.msg ? this.props.msg : _dict['view.notFound']}</div>
        </div>
      </main>
    )
  }
}
 
export default NotFound