From 4546530b83c119280a3631be82b5f070c8713c03 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 16 七月 2023 12:19:38 +0800 Subject: [PATCH] 2023-07-16 --- 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