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 ( -