text: /**
   * 这是啥？这是静态菜单配置，如果不需要动态请求，在这里写吧。减少维护成本
   * @type {[{redirect: string, isLink: number, isSideMenu: number, icon: string, orderNum: number, type: number, title: string, path: string, isCache: number, isDisable: number, component: string, name: string, perms: string, id: number, status: number}, {redirect: string, isLink: number, isSideMenu: number, icon: string, orderNum: number, type: number, title: string, path: string, isCache: number, isDisable: number, component: string, children: [{redirect: string, isLink: number, isSideMenu: number, icon: string, orderNum: number, type: number, title: string, path: string, isCache: number, isDisable: number, component: string, name: string, perms: string, id: number, status: number}, {redirect: string, isLink: number, isSideMenu: number, icon: string, orderNum: number, type: number, title: string, path: string, isCache: number, isDisable: number, component: string, name: string, perms: string, id: number, status: number}, {redirect: string, isLink: number, isSideMenu: number, icon: string, orderNum: number, type: number, title: string, path: string, isCache: number, isDisable: number, component: string, name: string, perms: string, id: number, status: number}, {redirect: string, isLink: number, isSideMenu: number, icon: string, orderNum: number, type: number, title: string, path: string, isCache: number, isDisable: number, component: string, name: string, perms: string, id: number, status: number}], name: string, perms: string, id: number, status: number}, {redirect: string, isLink: number, isSideMenu: number, icon: string, orderNum: number, type: number, title: string, path: string, isCache: number, isDisable: number, component: string, children: [{redirect: string, isLink: number, isSideMenu: number, icon: string, orderNum: number, type: number, title: string, path: string, isCache: number, isDisable: number, component: string, name: string, perms: string, id: number, status: number}, {redirect: string, isLink: number, isSideMenu: number, icon: string, orderNum: number, type: number, title: string, path: string, isCache: number, isDisable: number, component: string, name: string, perms: string, id: number, status: number}, {redirect: string, isLink: number, isSideMenu: number, icon: string, orderNum: number, type: number, title: string, path: string, isCache: number, isDisable: number, component: string, name: string, perms: string, id: number, status: number}, {redirect: string, isLink: number, isSideMenu: number, icon: string, orderNum: number, type: number, title: string, path: string, isCache: number, isDisable: number, component: string, name: string, perms: string, id: number, status: number}, {redirect: string, isLink: number, isSideMenu: number, icon: string, orderNum: number, type: number, title: string, path: string, isCache: number, isDisable: number, component: string, name: string, perms: string, id: number, status: number}, null], name: string, perms: string, id: number, status: number}, {redirect: string, isLink: number, isSideMenu: number, icon: string, orderNum: number, type: number, title: string, path: string, isCache: number, isDisable: number, component: string, children: [{redirect: string, isLink: number, isSideMenu: number, icon: string, orderNum: number, type: number, title: string, path: string, isCache: number, isDisable: number, component: string, name: string, perms: string, id: number, status: number}, {redirect: string, isLink: number, isSideMenu: number, icon: string, orderNum: number, type: number, title: string, path: string, isCache: number, isDisable: number, component: string, name: string, perms: string, id: number, status: number}, {redirect: string, isLink: number, isSideMenu: number, icon: string, orderNum: number, type: number, title: string, path: string, isCache: number, isDisable: number, component: string, name: string, perms: string, id: number, status: number}], name: string, perms: string, id: number, status: number}]}
   */
  
  const menus = [{
    id: 1,
    orderNum: 1,
    type: 0,
    name: "首页",
    title: "首页",
    path: "home",
    component: "Home",
    redirect: "",
    icon: "icon-home",
    isLink: 0,
    isCache: 0,
    isDisable: 0,
    isHidden: false,
    isHideSubMenu: false,
    status: 1,
    perms: "admin:system:*",
  }, {
    id: 2,
    orderNum: 2,
    type: 0,
    name: "示例",
    title: "示例",
    path: "demo",
    component: "",
    redirect: "",
    icon: "icon-project",
    isLink: 0,
    isCache: 0,
    isDisable: 0,
    isHidden: false,
    isHideSubMenu: false,
    status: 1,
    perms: "admin:system:*",
    children: [{
      id: 21,
      orderNum: 1,
      type: 1,
      name: "国际化",
      title: "国际化",
      path: "i18n",
      component: "demo/i18n/I18n",
      redirect: "",
      icon: "icon-earth",
      isLink: 0,
      isCache: 0,
      isDisable: 0,
      isHidden: false,
      isHideSubMenu: false,
      status: 1,
      perms: "admin:system:*",
    }, {
      id: 22,
      orderNum: 2,
      type: 1,
      name: "加密解密",
      title: "加密解密",
      path: "encrypt",
      component: "demo/encrypt/CryptoJs",
      redirect: "",
      icon: "icon-lock",
      isLink: 0,
      isCache: 0,
      isDisable: 0,
      isHidden: false,
      isHideSubMenu: false,
      status: 1,
      perms: "admin:system:*",
    }, {
      id: 23,
      orderNum: 3,
      type: 1,
      name: "图标",
      title: "图标",
      path: "icon",
      component: "demo/icon/Icon",
      redirect: "",
      icon: "icon-appstore",
      isLink: 0,
      isCache: 0,
      isDisable: 0,
      isHidden: false,
      isHideSubMenu: false,
      status: 1,
      perms: "admin:system:*",
    }, {
      id: 24,
      orderNum: 4,
      type: 1,
      name: "倒计时",
      title: "倒计时",
      path: "timer",
      component: "demo/timer/Timer",
      redirect: "",
      icon: "icon-time-circle",
      isLink: 0,
      isCache: 0,
      isDisable: 0,
      isHidden: false,
      isHideSubMenu: false,
      status: 1,
      perms: "admin:system:*",
    }, {
      id: 25,
      orderNum: 5,
      type: 1,
      name: "HTML",
      title: "HTML",
      path: "html-script",
      component: "demo/htmlScript/HtmlScript",
      redirect: "",
      icon: "icon-project",
      isLink: 0,
      isCache: 0,
      isDisable: 0,
      isHidden: false,
      isHideSubMenu: false,
      status: 1,
      perms: "admin:system:*",
    }, {
      id: 26,
      orderNum: 6,
      type: 1,
      name: "Filter",
      title: "Filter",
      path: "filter",
      component: "demo/filter/Filter",
      redirect: "",
      icon: "icon-wallet",
      isLink: 0,
      isCache: 0,
      isDisable: 0,
      isHidden: false,
      isHideSubMenu: false,
      status: 1,
      perms: "admin:system:*",
    }, {
      id: 27,
      orderNum: 7,
      type: 1,
      name: "Echarts",
      title: "Echarts",
      path: "echarts",
      component: "demo/echarts/Echarts",
      redirect: "",
      icon: "icon-linechart",
      isLink: 0,
      isCache: 0,
      isDisable: 0,
      isHidden: false,
      isHideSubMenu: false,
      status: 1,
      perms: "admin:system:*",
    },
    ]
  }, {
    id: 9,
    orderNum: 9,
    type: 0,
    name: "系统管理",
    title: "系统管理",
    path: "system",
    component: "",
    redirect: "",
    icon: "icon-setting",
    isLink: 0,
    isCache: 0,
    isDisable: 0,
    isHidden: false,
    isHideSubMenu: false,
    status: 1,
    perms: "admin:system:*",
    children: [{
      id: 91,
      orderNum: 1,
      type: 1,
      name: "用户管理",
      title: "用户管理",
      path: "users",
      component: "system/Users",
      redirect: "",
      icon: "icon-team",
      isLink: 0,
      isCache: 0,
      isDisable: 0,
      isHidden: false,
      isHideSubMenu: true,
      status: 1,
      perms: "admin:system:*",
      children: [{
        id: 91,
        orderNum: 1,
        type: 2,
        name: "用户管理",
        title: "用户管理",
        path: "create",
        component: "system/UsersCreate",
        redirect: "",
        icon: "icon-user",
        isLink: 0,
        isCache: 0,
        isDisable: 0,
        isHidden: true,
        isHideSubMenu: true,
        status: 1,
        perms: "admin:system:*",
      }],
    }, {
      id: 92,
      orderNum: 2,
      type: 1,
      name: "角色管理",
      title: "角色管理",
      path: "roles",
      component: "system/Roles",
      redirect: "",
      icon: "icon-user",
      isLink: 0,
      isCache: 0,
      isDisable: 0,
      isHidden: false,
      isHideSubMenu: false,
      status: 1,
      perms: "admin:system:*",
    }, {
      id: 93,
      orderNum: 3,
      type: 1,
      name: "菜单管理",
      title: "菜单管理",
      path: "menus",
      component: "system/Menus",
      redirect: "",
      icon: "icon-user",
      isLink: 0,
      isCache: 0,
      isDisable: 0,
      isHidden: false,
      isHideSubMenu: false,
      status: 1,
      perms: "admin:system:*",
    }, {
      id: 94,
      orderNum: 4,
      type: 1,
      name: "字典管理",
      title: "字典管理",
      path: "dictionary",
      component: "system/Dictionary",
      redirect: "",
      icon: "icon-user",
      isLink: 0,
      isCache: 0,
      isDisable: 0,
      isHidden: false,
      isHideSubMenu: false,
      status: 1,
      perms: "admin:system:*",
    }, {
      id: 95,
      orderNum: 5,
      type: 1,
      name: "公司管理",
      title: "公司管理",
      path: "company",
      component: "system/Company",
      redirect: "",
      icon: "icon-user",
      isLink: 0,
      isCache: 0,
      isDisable: 0,
      isHidden: false,
      isHideSubMenu: false,
      status: 1,
      perms: "admin:system:*",
    }, {
      id: 96,
      orderNum: 6,
      type: 1,
      name: "部门管理",
      title: "部门管理",
      path: "depts",
      component: "system/Depts",
      redirect: "",
      icon: "icon-user",
      isLink: 0,
      isCache: 0,
      isDisable: 0,
      isHidden: false,
      isHideSubMenu: false,
      status: 1,
      perms: "admin:system:*",
    },
    ],
  }, {
    id: 10,
    orderNum: 10,
    type: 0,
    name: "错误页面",
    title: "错误页面",
    path: "error",
    component: "",
    redirect: "",
    icon: "icon-error",
    isLink: 0,
    isCache: 0,
    isDisable: 0,
    isHidden: false,
    isHideSubMenu: false,
    status: 1,
    perms: "admin:system:*",
    children: [{
      id: 101,
      orderNum: 1,
      type: 1,
      name: "404",
      title: "404",
      path: "404",
      component: "error/404",
      redirect: "",
      icon: "icon-icon-test1",
      isLink: 0,
      isCache: 0,
      isDisable: 0,
      isHidden: false,
      isHideSubMenu: false,
      status: 1,
      perms: "admin:system:*",
    }, {
      id: 102,
      orderNum: 2,
      type: 1,
      name: "500",
      title: "500",
      path: "500",
      component: "error/500",
      redirect: "",
      icon: "icon-icon-test",
      isLink: 0,
      isCache: 0,
      isDisable: 0,
      isHidden: false,
      isHideSubMenu: false,
      status: 1,
      perms: "admin:system:*",
    }, {
      id: 103,
      orderNum: 3,
      type: 1,
      name: "error",
      title: "error",
      path: "error",
      component: "error/Error",
      redirect: "",
      icon: "icon-error",
      isLink: 0,
      isCache: 0,
      isDisable: 0,
      isHidden: false,
      isHideSubMenu: false,
      status: 1,
      perms: "admin:system:*",
    },
    ],
  },
  ];
  
  const routers = {
    userInfo: {
      name: "name",
      roles: [],
      permissions: [],
      menus: menus,
    }
  }
  
  export default routers;
  