From 3cff8e1589fd8e319ee6a35facfa63cf02f92f6a Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 21 十二月 2021 21:55:24 +0800
Subject: [PATCH] 2021-12-21

---
 src/menu/padcontroller/index.jsx |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/menu/padcontroller/index.jsx b/src/menu/padcontroller/index.jsx
index 1b2c41b..3ade9f2 100644
--- a/src/menu/padcontroller/index.jsx
+++ b/src/menu/padcontroller/index.jsx
@@ -1,7 +1,8 @@
 import React, {Component} from 'react'
 import PropTypes from 'prop-types'
 import { is, fromJS } from 'immutable'
-import { Form, Col, Icon } from 'antd'
+import { Form, Col } from 'antd'
+import { ArrowUpOutlined, ArrowDownOutlined, ArrowLeftOutlined, ArrowRightOutlined } from '@ant-design/icons'
 
 import StyleInput from '../stylecontroller/styleInput'
 import './index.scss'
@@ -56,7 +57,7 @@
           <Col span={24}>
             <Form.Item
               colon={false}
-              label={<Icon title="涓婅竟璺�" type="arrow-up"/>}
+              label={<ArrowUpOutlined title="涓婅竟璺�"/>}
             >
               <StyleInput defaultValue={config.style.paddingTop || '0px'} options={['px', 'vh', 'vw']} onChange={(val) => this.changePadding(val, 'paddingTop')}/>
             </Form.Item>
@@ -64,7 +65,7 @@
           <Col span={24}>
             <Form.Item
               colon={false}
-              label={<Icon title="涓嬭竟璺�" type="arrow-down"/>}
+              label={<ArrowDownOutlined title="涓嬭竟璺�"/>}
             >
               <StyleInput defaultValue={config.style.paddingBottom || '0px'} options={['px', 'vh', 'vw']} onChange={(val) => this.changePadding(val, 'paddingBottom')}/>
             </Form.Item>
@@ -72,7 +73,7 @@
           <Col span={24}>
             <Form.Item
               colon={false}
-              label={<Icon title="宸﹁竟璺�" type="arrow-left"/>}
+              label={<ArrowLeftOutlined title="宸﹁竟璺�"/>}
             >
               <StyleInput defaultValue={config.style.paddingLeft || '0px'} options={['px', 'vh', 'vw']} onChange={(val) => this.changePadding(val, 'paddingLeft')}/>
             </Form.Item>
@@ -80,7 +81,7 @@
           <Col span={24}>
             <Form.Item
               colon={false}
-              label={<Icon title="鍙宠竟璺�" type="arrow-right"/>}
+              label={<ArrowRightOutlined title="鍙宠竟璺�"/>}
             >
               <StyleInput defaultValue={config.style.paddingRight || '0px'} options={['px', 'vh', 'vw']} onChange={(val) => this.changePadding(val, 'paddingRight')}/>
             </Form.Item>

--
Gitblit v1.8.0