Merge branch 'factory-hxy' of http://172.20.32.203:3000/durian/forgeplus-react into factory

This commit is contained in:
谢思 2025-12-29 20:09:00 +08:00
commit d5897e3bd7
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>
)
})
}