feat: 菜单新增vue的path属性

This commit is contained in:
weizhiqiang 2024-11-19 16:40:48 +08:00
parent a4be9373da
commit 3a52c1fefc
4 changed files with 9 additions and 0 deletions

View file

@ -57,6 +57,10 @@ public class SysMenu extends IconOrImgInfo {
@ApiModelProperty(value = "菜单链接", required = "required")
private String pageUrl;
@TableField("path")
@ApiModelProperty(value = "VUE前端路由路径")
private String path;
@TableField("type")
@ApiModelProperty(value = "菜单类型", required = "required")
private String type;

View file

@ -9,6 +9,7 @@
c.icon,
c.page_type pageType,
c.page_url pageURL,
c.path,
c.open_type openType,
c.type,
c.order_num orderNum,

View file

@ -98,6 +98,7 @@
c.icon,
c.page_type pageType,
c.page_url pageURL,
c.path,
c.open_type openType,
c.type menuType,
'-1' maxOpen,
@ -131,6 +132,7 @@
a.menu_icon icon,
'1' pageType,
a.menu_url pageURL,
'' path,
a.open_type openType,
a.menu_type menuType,
'-1' maxOpen,
@ -155,6 +157,7 @@
'' icon,
'1' pageType,
'--' pageURL,
'' path,
2 openType,
'' menuType,
'-1' maxOpen,

View file

@ -303,6 +303,7 @@
c.id,
c.`name`,
c.page_url pageURL,
c.path,
c.open_type openType,
'-1' maxOpen,
'false' extend,