From e44c622efee02beafab30da2a91561e8892e26ef Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 14 五月 2022 14:11:39 +0800 Subject: [PATCH] 2022-05-14 --- src/menu/components/share/clockcomponent/index.jsx | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/menu/components/share/clockcomponent/index.jsx b/src/menu/components/share/clockcomponent/index.jsx index ee53e1a..2b1006d 100644 --- a/src/menu/components/share/clockcomponent/index.jsx +++ b/src/menu/components/share/clockcomponent/index.jsx @@ -1,7 +1,8 @@ import React, {Component} from 'react' import PropTypes from 'prop-types' import { is, fromJS } from 'immutable' -import { Icon, Modal } from 'antd' +import { Modal } from 'antd' +import { ClockCircleOutlined } from '@ant-design/icons' import ClockForm from './settingform' import './index.scss' @@ -41,8 +42,8 @@ const { visible, loading } = this.state return ( - <div className="clock-component-wrap"> - <Icon type="clock-circle" title="瀹氭椂鍣�" onClick={this.trigger} /> + <div className={'clock-component-wrap' + (config.timer ? ' tip-sign' : '')}> + <ClockCircleOutlined title="瀹氭椂鍣�" onClick={this.trigger} /> <Modal title="瀹氭椂鍣ㄨ缃�" visible={visible} -- Gitblit v1.8.0