菜单类型必填校验

This commit is contained in:
RuoYi
2018-08-19 13:23:51 +08:00
parent 372c198d13
commit 7c99e72067
7 changed files with 31 additions and 5 deletions

View File

@ -130,12 +130,12 @@ create table sys_menu (
menu_id int(11) not null auto_increment comment '菜单ID',
menu_name varchar(50) not null comment '菜单名称',
parent_id int(11) default 0 comment '父菜单ID',
order_num int(4) default null comment '显示顺序',
url varchar(200) default '' comment '请求地址',
order_num int(4) default 0 comment '显示顺序',
url varchar(200) default '#' comment '请求地址',
menu_type char(1) default '' comment '菜单类型M目录 C菜单 F按钮',
visible char(1) not null comment '菜单状态0显示 1隐藏',
visible char(1) default 0 comment '菜单状态0显示 1隐藏',
perms varchar(100) default '' comment '权限标识',
icon varchar(100) default '' comment '菜单图标',
icon varchar(100) default '#' comment '菜单图标',
create_by varchar(64) default '' comment '创建者',
create_time datetime comment '创建时间',
update_by varchar(64) default '' comment '更新者',