king
2020-06-16 1dfbdd345812e76abdeec3ee5efe9424dc13a733
src/views/404/index.jsx
@@ -1,5 +1,7 @@
import React, {Component} from 'react'
import { withRouter } from 'react-router-dom'
import { Button } from 'antd'
import Lostsvg from '@/components/lostsvg'
import './index.scss'
@@ -18,7 +20,7 @@
          <div className="ant-result-title">404</div>
          <div className="ant-result-subtitle">抱歉,你访问的页面不存在,请联系管理员。</div>
          <div className="ant-result-extra">
            <button type="button" onClick={() => {this.tomain()}} className="ant-btn ant-btn-primary"><span>返回主页</span></button>
            <Button onClick={() => {this.tomain()}} type="primary">返回主页</Button>
          </div>
        </div>
      </main>