fix
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
import { lazy } from "react";
|
||||
|
||||
// 所有可用的路由配置
|
||||
export const allRoutes = [
|
||||
{
|
||||
path: "/home",
|
||||
component: lazy(() => import("@/pages/home")),
|
||||
name: "首页",
|
||||
hidden: true,
|
||||
key: "home",
|
||||
},
|
||||
{
|
||||
path: "dashboard",
|
||||
component: lazy(() => import("@/pages/Dashboard")),
|
||||
@@ -76,13 +82,23 @@ export const allRoutes = [
|
||||
key: "company/quotaInfo",
|
||||
},
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
path: "quotaInfo/preview/:id?", // 添加可选的 id 参数
|
||||
=======
|
||||
path: "quotaInfo/preview/:id?",
|
||||
>>>>>>> 8dccf8e554eefcfa832eca45be35be4dddad3cb8
|
||||
hidden: true,
|
||||
component: lazy(() => import("@/pages/company/quotation/view")),
|
||||
name: "报价单预览",
|
||||
icon: "file",
|
||||
<<<<<<< HEAD
|
||||
key:'company/quotaInfo/preview'
|
||||
},
|
||||
=======
|
||||
key: "company/quotaInfo/preview",
|
||||
},
|
||||
|
||||
>>>>>>> 8dccf8e554eefcfa832eca45be35be4dddad3cb8
|
||||
{
|
||||
path: "project",
|
||||
component: lazy(() => import("@/pages/company/project")),
|
||||
@@ -119,7 +135,10 @@ export const allRoutes = [
|
||||
name: "服务模版详情",
|
||||
icon: "container",
|
||||
key: "company/serviceTemplateInfo",
|
||||
<<<<<<< HEAD
|
||||
|
||||
=======
|
||||
>>>>>>> 8dccf8e554eefcfa832eca45be35be4dddad3cb8
|
||||
},
|
||||
{
|
||||
path: "supplier",
|
||||
@@ -157,7 +176,11 @@ export const allRoutes = [
|
||||
component: lazy(() => import("@/pages/company/service/itemsManange")),
|
||||
name: "资源类型",
|
||||
icon: "container",
|
||||
<<<<<<< HEAD
|
||||
key:'company/templateItemManage'
|
||||
=======
|
||||
key: "company/templateItem",
|
||||
>>>>>>> 8dccf8e554eefcfa832eca45be35be4dddad3cb8
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user