From 1dfbdd345812e76abdeec3ee5efe9424dc13a733 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 16 六月 2020 19:13:33 +0800 Subject: [PATCH] 2020-06-16 --- src/views/404/index.jsx | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/views/404/index.jsx b/src/views/404/index.jsx index 53fdcbf..7c8f4b0 100644 --- a/src/views/404/index.jsx +++ b/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> -- Gitblit v1.8.0