修复新建角色报错

This commit is contained in:
cool 2024-03-13 10:10:55 +08:00
parent 0614eb8402
commit c94e03d689

View File

@ -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[];