From 972f277c5920d9d38749d675912b47b2b120320e Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 25 五月 2023 10:17:41 +0800 Subject: [PATCH] 2023-05-25 --- src/tabviews/custom/components/card/cardcellList/index.jsx | 11 ++--------- 1 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/tabviews/custom/components/card/cardcellList/index.jsx b/src/tabviews/custom/components/card/cardcellList/index.jsx index 450e8e9..8e9c1f8 100644 --- a/src/tabviews/custom/components/card/cardcellList/index.jsx +++ b/src/tabviews/custom/components/card/cardcellList/index.jsx @@ -76,10 +76,8 @@ elements: PropTypes.array, // 鍏冪礌闆� } - state = {} - shouldComponentUpdate (nextProps, nextState) { - return !is(fromJS(this.state), fromJS(nextState)) || !is(fromJS(this.props), fromJS(nextProps)) + return !is(fromJS(this.props), fromJS(nextProps)) } /** @@ -133,12 +131,7 @@ } window.open(_url) return - } else if (card.linkType === 'qywx') { - notification.warning({ - top: 92, - message: 'PC涓嶆敮鎸佹墦寮�浼佷笟寰俊锛�', - duration: 5 - }) + } else if (card.linkType === 'qywx' || card.linkType === 'linkmenu') { return } -- Gitblit v1.8.0