king
2021-12-10 94cd90e22facb0e75a6e255ce125aa4ea6aca260
src/components/404/index.jsx
@@ -1,10 +1,6 @@
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 () {
@@ -15,7 +11,7 @@
            <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>
    )