From b929fe1aaf57ce814f0b2f3a31605cfacd102704 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=BF=83=E5=AE=87?= Date: Mon, 29 Dec 2025 20:08:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=BA=E6=99=AF=E9=A1=B5=E8=B7=B3=E8=BD=ACco?= =?UTF-8?q?nt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/factory/scene/index.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/factory/scene/index.jsx b/src/factory/scene/index.jsx index 5442ebdf..e24c8c39 100644 --- a/src/factory/scene/index.jsx +++ b/src/factory/scene/index.jsx @@ -18,7 +18,7 @@ function Index(props) { useEffect(() => { document.title = '场景详情-软件工厂专区'; getDetail() - }, []); + }, [props.match.params.sceneId]); useEffect(() => { if (detail.id) { @@ -78,7 +78,7 @@ function Index(props) { { otherList.map((item, index) => { return ( -
  • {item.name}
  • +
  • {item.name}
  • ) }) }