Pre Merge pull request !223 from 木土/N/A
This commit is contained in:
commit
59693b173f
@ -337,7 +337,8 @@ public class SysMenuServiceImpl implements ISysMenuService
|
|||||||
*/
|
*/
|
||||||
public String getRouteName(SysMenu menu)
|
public String getRouteName(SysMenu menu)
|
||||||
{
|
{
|
||||||
String routerName = StringUtils.capitalize(menu.getPath());
|
String path = menu.getPath().replaceAll("[^a-zA-Z0-9_]+", "_");
|
||||||
|
String routerName = StringUtils.capitalize(path);
|
||||||
// 非外链并且是一级目录(类型为目录)
|
// 非外链并且是一级目录(类型为目录)
|
||||||
if (isMenuFrame(menu))
|
if (isMenuFrame(menu))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user