替换默认生成的404
This commit is contained in:
parent
36808a4a4c
commit
283157dfce
|
@ -92,7 +92,7 @@ let indexRouter = [{
|
|||
...generateChildRouters(data)
|
||||
]
|
||||
},{
|
||||
"path": "*", "redirect": "/404", "hidden": true
|
||||
"path": "*", "redirect": "/home/index", "hidden": true
|
||||
}]
|
||||
return indexRouter;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user