修复新建角色报错

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 }) @Column({ comment: '备注', nullable: true })
remark: string; remark: string;
@Column({ comment: '数据权限是否关联上下级', default: 1 }) @Column({ comment: '数据权限是否关联上下级', default: false })
relevance: number; relevance: boolean;
@Column({ comment: '菜单权限', type: 'json' }) @Column({ comment: '菜单权限', type: 'json' })
menuIdList: number[]; menuIdList: number[];