Merge branch 'factory-hxy' of http://172.20.32.203:3000/durian/forgeplus-react into factory
This commit is contained in:
commit
d5897e3bd7
|
|
@ -18,7 +18,7 @@ function Index(props) {
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
document.title = '场景详情-软件工厂专区';
|
document.title = '场景详情-软件工厂专区';
|
||||||
getDetail()
|
getDetail()
|
||||||
}, []);
|
}, [props.match.params.sceneId]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (detail.id) {
|
if (detail.id) {
|
||||||
|
|
@ -78,7 +78,7 @@ function Index(props) {
|
||||||
{
|
{
|
||||||
otherList.map((item, index) => {
|
otherList.map((item, index) => {
|
||||||
return (
|
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>
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue