import { RouterType } from "@/types";
import React from "react";

const tabLeftArr: RouterType = [
  {
    id: "1",
    name: "业务配置",
    son: [
      {
        id: "1.1",
        name: "用户管理",
        path: "/",
        Com: React.lazy(() => import("../A1wxuser")),
        done: true,
      },
      {
        id: "1.2",
        name: "积分管理",
        path: "/integral",
        Com: React.lazy(() => import("../A2integral")),
        done: true,
      },
    ],
  },
  {
    id: "2",
    name: "系统管理",
    son: [
      {
        id: "3.1",
        name: "后台账户管理",
        path: "/user",
        Com: React.lazy(() => import("../Z1user")),
        done: false,
      },
      {
        id: "3.2",
        name: "系统日志",
        path: "/log",
        Com: React.lazy(() => import("../Z2log")),
        done: false,
      },
    ],
  },
];

export default tabLeftArr;
