From 5b166dd93003adb0749002d74109a519f746e204 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 03 八月 2024 16:49:15 +0800 Subject: [PATCH] 2024-08-03 --- 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