This commit is contained in:
2026-03-24 17:19:15 +08:00
parent 5364df097b
commit aa37f75a07
4 changed files with 24 additions and 23 deletions

View File

@@ -1,7 +1,7 @@
module.exports = {
NODE_ENV: '"development"',
ENV_CONFIG: '"dev"',
BASE_WMS_API: '"http://127.0.0.1:8080/api"',
BASE_WMS_FILE: '"http://127.0.0.1:8080/"'
BASE_WMS_API: '"http://127.0.0.1:8011/api"',
BASE_WMS_FILE: '"http://127.0.0.1:8011/"'
// 47.101.147.253
}

View File

@@ -1,8 +1,8 @@
module.exports = {
NODE_ENV: '"production"',
ENV_CONFIG: '"prod"',
BASE_WMS_API: '"http://127.0.0.1:8080/api"',
BASE_WMS_FILE: '"http://127.0.0.1:8080/"'
BASE_WMS_API: '"http://127.0.0.1:8011/api"',
BASE_WMS_FILE: '"http://127.0.0.1:8011/"'
////BASE_AGV_API: '"http://192.168.3.223:55200/v1"',
//BASE_WMS_API: '"http://169.254.71.103/api"',
//BASE_AGV_API: '"http://127.0.0.1:55200/v1"',

View File

@@ -59,36 +59,36 @@ export const constantRouterMap = [
{
path: "/",
component: Layout,
meta: {
title: "系统首页",
icon: "camera"
},
children: [
{
path: "/dashboard",
component: () => import("@/views/dashboard/index"),
name: "系统首页",
meta: { title: "系统首页", icon: "component", noCache: true }
}
]
},
{
path: "/workbench",
component: Layout,
meta: {
title: "我的工作台",
icon: "camera"
},
children: [
{
path: "/workbench",
path: "/dashboard",
component: () => import("@/views/workbench/index"),
name: "我的工作台",
meta: { title: "我的工作台", icon: "component", noCache: true }
}
]
}
];
// {
// path: "/workbench",
// component: Layout,
// meta: {
// title: "我的工作台",
// icon: "camera"
// },
// children: [
// {
// path: "/workbench",
// component: () => import("@/views/workbench/index"),
// name: "我的工作台",
// meta: { title: "我的工作台", icon: "component", noCache: true }
// }
// ]
// }
]
//需要权限的路由表
export const asyncRouterMap = [