interface UserInfo {
  DTuserid: string;
  addtime: string;
  department: string;
  email: string;
  id: string;
  is_pass: string;
  mobile: string;
  nickname: string;
  openId: string;
  portrait: string;
  post: string;
  role_name: string;
  roleid: string;
  sex: string;
  source: string;
  status: string;
  unionid: string;
  user_id: string;
  username: string;
}

//用户信息
declare interface User {
  userinfo: UserInfo;
  token: string;
}

//用户菜单
declare interface Menu {
  child?: Menu[];
  is_display: string;
  menu_img: string;
  menu_name: string;
  menu_route: string;
  status: string;
  is_private: string;
  menu_url: string;
  id: string;
  action?: string[];
}

declare interface option {
  label: string;
  value: string;
}
