From 0ddf0f980d675d28c41f746b55d0d7cc55007d8a Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 02 七月 2024 00:05:15 +0800 Subject: [PATCH] 2024-07-02 --- src/menu/components/share/clockcomponent/index.jsx | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/src/menu/components/share/clockcomponent/index.jsx b/src/menu/components/share/clockcomponent/index.jsx index 9fb414d..24de95e 100644 --- a/src/menu/components/share/clockcomponent/index.jsx +++ b/src/menu/components/share/clockcomponent/index.jsx @@ -1,6 +1,5 @@ import React, {Component} from 'react' import PropTypes from 'prop-types' -import { is, fromJS } from 'immutable' import { Modal } from 'antd' import { ClockCircleOutlined } from '@ant-design/icons' @@ -14,10 +13,6 @@ state = { visible: false - } - - shouldComponentUpdate (nextProps, nextState) { - return !is(fromJS(this.state), fromJS(nextState)) } trigger = () => { -- Gitblit v1.8.0