优化
This commit is contained in:
@@ -1,12 +1,5 @@
|
||||
import { lazy } from "react";
|
||||
|
||||
// Dashboard route
|
||||
const dashboardRoute = {
|
||||
path: "dashboard",
|
||||
component: lazy(() => import("@/pages/Dashboard")),
|
||||
name: "仪表盘",
|
||||
icon: "dashboard",
|
||||
};
|
||||
|
||||
// Resource Management routes
|
||||
const resourceRoutes = [
|
||||
@@ -109,7 +102,12 @@ const companyRoutes = [
|
||||
const marketingRoutes = [];
|
||||
|
||||
export const routes = [
|
||||
dashboardRoute,
|
||||
// {
|
||||
// path: "dashboard",
|
||||
// component: lazy(() => import("@/pages/Dashboard")),
|
||||
// name: "仪表盘",
|
||||
// icon: "dashboard",
|
||||
// },
|
||||
{
|
||||
path: "resource",
|
||||
component: lazy(() => import("@/pages/resource")),
|
||||
|
||||
Reference in New Issue
Block a user