场景页跳转cont.

This commit is contained in:
黄心宇 2025-12-29 20:08:39 +08:00
parent 131b3cc65c
commit b929fe1aaf
1 changed files with 2 additions and 2 deletions

View File

@ -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 (
<li key={index}><Link to={ `/softwareFactory/scene/${ index }` }>{item.name}</Link></li>
<li key={index}><Link to={ `/softwareFactory/scene/${ item.id }` }>{item.name}</Link></li>
)
})
}