From 50f557affcd93607d302a4212be1505768a985bb Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期一, 31 三月 2025 14:45:04 +0800 Subject: [PATCH] 成品下单-缓存问题 --- src/router/index.js | 20 ++++++++++++++------ 1 files changed, 14 insertions(+), 6 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 9d4db52..61648ce 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -74,7 +74,7 @@ hidden: true, }, { - path: "", + path: "/", component: Layout, redirect: "index", children: [ @@ -140,12 +140,20 @@ permissions: ["business:productOrder"], children: [ { - // 鎴愬搧涓嬪崟璇︽儏 - path: "add", + // 鏌ョ湅鎴愬搧涓嬪崟璇︽儏 + path: "addView", component: () => - import("@/views/business/productOrder/components/add.vue"), - name: "Add", - meta: { title: "鎴愬搧涓嬪崟璇︽儏", activeMenu: "/business/productOrder",keepAlive: true }, + import("@/views/business/productOrder/components/addView.vue"), + name: "AddView", + meta: { title: "鏌ョ湅鎴愬搧涓嬪崟", activeMenu: "/business/productOrder",keepAlive: true }, + }, + { + // 杩涜涓嬪崟-鎴愬搧涓嬪崟 + path: "addOrder", + component: () => + import("@/views/business/productOrder/components/addOrder.vue"), + name: "AddOrder", + meta: { title: "杩涜鎴愬搧涓嬪崟", activeMenu: "/business/productOrder",keepAlive: true }, }, ], }, -- Gitblit v1.9.3