mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2024-11-01 14:10:29 +08:00
修复新建角色报错
This commit is contained in:
parent
0614eb8402
commit
c94e03d689
@ -20,8 +20,8 @@ export class BaseSysRoleEntity extends BaseEntity {
|
||||
@Column({ comment: '备注', nullable: true })
|
||||
remark: string;
|
||||
|
||||
@Column({ comment: '数据权限是否关联上下级', default: 1 })
|
||||
relevance: number;
|
||||
@Column({ comment: '数据权限是否关联上下级', default: false })
|
||||
relevance: boolean;
|
||||
|
||||
@Column({ comment: '菜单权限', type: 'json' })
|
||||
menuIdList: number[];
|
||||
|
Loading…
Reference in New Issue
Block a user