// export interface formParamsType {
//   userId?: number | null;
//   roleIds?: number[];
//   isEnable: boolean;
//   email: string;
//   mobile: string;
//   nickname: string;
//   password: string;
//   passwordRe: string;
//   remark: string;
//   sex: string;
//   username: string;
//   deptId?: null;
//   postId?: number[];
// }

export interface formParamsType {
  userId?: number | null;
  roleIds?: number[];
  isEnable: boolean;
  email: string;
  mobile: string;
  nickname: string;
  password: string;
  passwordRe: string;
  remark: string;
  sex: string;
  username: string;
  deptId?: null;
  postId?: number[];
}

/** 编辑弹框类型，有新建和编辑两种 */
export enum EditType {
  create = 1,
  edit = 2,
}

export const ROOT_USER = 'root';
