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/design/header/versions/index.jsx |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/views/design/header/versions/index.jsx b/src/views/design/header/versions/index.jsx
index 6013932..b2883da 100644
--- a/src/views/design/header/versions/index.jsx
+++ b/src/views/design/header/versions/index.jsx
@@ -1,6 +1,7 @@
 import React, {Component} from 'react'
 import { is, fromJS } from 'immutable'
-import { Modal, notification, Timeline, Icon, Button, Typography } from 'antd'
+import { Modal, notification, Timeline, Button, Typography } from 'antd'
+import { ClockCircleOutlined, SyncOutlined, WarningOutlined, CheckCircleOutlined } from '@ant-design/icons'
 import moment from 'moment'
 
 import Api from '@/api'
@@ -423,14 +424,14 @@
         >
           <Timeline>
             {versions && versions.map(item => {
-              let icon = <Icon type="clock-circle-o" style={{ fontSize: '16px' }} />
+              let icon = <ClockCircleOutlined style={{ fontSize: '16px' }} />
               if (item.status === 'loading') {
-                icon = <Icon type="sync" spin style={{ fontSize: '16px' }} />
+                icon = <SyncOutlined spin style={{ fontSize: '16px' }} />
               } else if (item.status === 'done') {
                 if (item.warning) {
-                  icon = <Icon type="warning" style={{ fontSize: '16px', color: 'orange' }}/>
+                  icon = <WarningOutlined style={{ fontSize: '16px', color: 'orange' }}/>
                 } else {
-                  icon = <Icon type="check-circle" style={{ fontSize: '16px', color: '#52c41a' }} />
+                  icon = <CheckCircleOutlined style={{ fontSize: '16px', color: '#52c41a' }} />
                 }
               }
               return (

--
Gitblit v1.8.0