防止空路由出现的警告,设置默认path=/

This commit is contained in:
RuoYi
2020-05-26 18:22:53 +08:00
parent bb1324a70a
commit b5c789a267
2 changed files with 1 additions and 5 deletions

View File

@ -317,7 +317,7 @@ public class SysMenuServiceImpl implements ISysMenuService
// 非外链并且是一级目录(类型为菜单)
else if (isMeunFrame(menu))
{
routerPath = StringUtils.EMPTY;
routerPath = "/";
}
return routerPath;
}