From bd1dfc9e6c9b9f8076ca2783ce598e0936b4c664 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 22 十二月 2021 14:36:03 +0800 Subject: [PATCH] 2021-12-22 --- src/views/interface/history/index.jsx | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/views/interface/history/index.jsx b/src/views/interface/history/index.jsx index 96ab292..42fea84 100644 --- a/src/views/interface/history/index.jsx +++ b/src/views/interface/history/index.jsx @@ -1,6 +1,7 @@ import React, {Component} from 'react' import { fromJS } from 'immutable' -import { Input, Modal, Icon } from 'antd' +import { Input, Modal } from 'antd' +import { DeleteOutlined, RightOutlined } from '@ant-design/icons' import moment from 'moment' import Api from '@/views/interface/api' @@ -257,8 +258,8 @@ <div className="method">POST</div> <div className="inter">{m.interface}</div> <div className="action"> - <Icon type="delete" onClick={() => this.delete(m)} /> - <Icon type="right" onClick={() => this.use(m)} /> + <DeleteOutlined onClick={() => this.delete(m)} /> + <RightOutlined onClick={() => this.use(m)} /> </div> </div> ))} @@ -270,14 +271,14 @@ <div className="method">POST</div> <div className="inter" style={{lineHeight: '40px'}}>dologon / logon</div> <div className="action" style={{paddingLeft: '40px'}}> - <Icon type="right" onClick={this.uselogon} /> + <RightOutlined onClick={this.uselogon} /> </div> </div> <div className="line-item" key="dostars"> <div className="method">POST</div> <div className="inter" style={{lineHeight: '40px'}}>dostars</div> <div className="action" style={{paddingLeft: '40px'}}> - <Icon type="right" onClick={this.usedostars} /> + <RightOutlined onClick={this.usedostars} /> </div> </div> </div> -- Gitblit v1.8.0