From 7bd04b1c21a59e8d79325f247bdb1726507b51fb Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 13 八月 2024 18:51:20 +0800 Subject: [PATCH] 2024-08-13 --- src/tabviews/custom/components/share/normalheader/index.jsx | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/tabviews/custom/components/share/normalheader/index.jsx b/src/tabviews/custom/components/share/normalheader/index.jsx index 0b19275..34f8a6b 100644 --- a/src/tabviews/custom/components/share/normalheader/index.jsx +++ b/src/tabviews/custom/components/share/normalheader/index.jsx @@ -27,7 +27,14 @@ }) } - shouldComponentUpdate (nextProps, nextState) { return false } + shouldComponentUpdate (nextProps, nextState) { + const { config } = this.props + + if (config.checkBid && this.props.BID !== nextProps.BID) { + return true + } + return false + } /** * @description 缁勪欢閿�姣侊紝娓呴櫎state鏇存柊锛屾竻闄ゅ揩鎹烽敭璁剧疆 -- Gitblit v1.8.0