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 })
|
@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[];
|
||||||
|
Loading…
Reference in New Issue
Block a user