feat: 添加常量定义-来自分支lichang
This commit is contained in:
21
src/framework/constants/menu.go
Normal file
21
src/framework/constants/menu.go
Normal file
@@ -0,0 +1,21 @@
|
||||
package constants
|
||||
|
||||
// 系统菜单常量信息
|
||||
const (
|
||||
// MENU_COMPONENT_LAYOUT_BASIC 组件布局类型-基础布局组件标识
|
||||
MENU_COMPONENT_LAYOUT_BASIC = "BasicLayout"
|
||||
// MENU_COMPONENT_LAYOUT_BLANK 组件布局类型-空白布局组件标识
|
||||
MENU_COMPONENT_LAYOUT_BLANK = "BlankLayout"
|
||||
// MENU_COMPONENT_LAYOUT_LINK 组件布局类型-内链接布局组件标识
|
||||
MENU_COMPONENT_LAYOUT_LINK = "LinkLayout"
|
||||
|
||||
// MENU_TYPE_DIR 菜单类型-目录
|
||||
MENU_TYPE_DIR = "D"
|
||||
// MENU_TYPE_MENU 菜单类型-菜单
|
||||
MENU_TYPE_MENU = "M"
|
||||
// MENU_TYPE_BUTTON 菜单类型-按钮
|
||||
MENU_TYPE_BUTTON = "B"
|
||||
|
||||
// MENU_PATH_INLINE 菜单内嵌地址标识-带/前缀
|
||||
MENU_PATH_INLINE = "/inline"
|
||||
)
|
||||
Reference in New Issue
Block a user