From 86425e396ce1cf1c930357416b8e79451b77e82c Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 13 六月 2024 15:41:34 +0800 Subject: [PATCH] 2024-06-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