From d2fd67a1bcec35db7870f55a83a25c043ae854f8 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 06 九月 2023 15:58:16 +0800 Subject: [PATCH] 2023-09-06 --- src/menu/components/share/sourcecomponent/index.jsx | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/menu/components/share/sourcecomponent/index.jsx b/src/menu/components/share/sourcecomponent/index.jsx index 2d197f7..bf42033 100644 --- a/src/menu/components/share/sourcecomponent/index.jsx +++ b/src/menu/components/share/sourcecomponent/index.jsx @@ -37,7 +37,7 @@ } shouldComponentUpdate (nextProps, nextState) { - return !is(fromJS(this.state), fromJS(nextState)) + return !is(fromJS(this.state), fromJS(nextState)) || nextProps.type !== this.props.type } deleteUrl = () => { -- Gitblit v1.8.0