mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-21 02:25:56 +08:00
update 解决路由地址重复导致404的问题 issues/I7KA2C
Signed-off-by: GXRoger <875161928@qq.com>
This commit is contained in:
parent
e2b169e07a
commit
005d4e1ad0
@ -116,7 +116,7 @@ public class SysMenu extends BaseEntity {
|
|||||||
* 获取路由名称
|
* 获取路由名称
|
||||||
*/
|
*/
|
||||||
public String getRouteName() {
|
public String getRouteName() {
|
||||||
String routerName = StringUtils.capitalize(path);
|
String routerName = StringUtils.capitalize(path) + menuId;
|
||||||
// 非外链并且是一级目录(类型为目录)
|
// 非外链并且是一级目录(类型为目录)
|
||||||
if (isMenuFrame()) {
|
if (isMenuFrame()) {
|
||||||
routerName = StringUtils.EMPTY;
|
routerName = StringUtils.EMPTY;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user