添加打包命令 区分项目

This commit is contained in:
guanj
2025-10-09 11:32:15 +08:00
parent 10511a92a4
commit d82b26f388
11 changed files with 343 additions and 290 deletions

View File

@@ -3,7 +3,13 @@ const routes: Array<RouteRecordRaw> = [
{
path: "/",
name: "Index",
component: () => import("@/views/SagTraceResult_WX/index.vue"), // 懒加载组件
// component: () => import("@/views/VoltageSag_BJ/index.vue"), // 懒加载组件
component: () =>
import(
import.meta.env.VITE_NAME == "wuxi"
? "@/views/SagTraceResult_WX/index.vue"
: "@/views/VoltageSag_BJ/index.vue"
), // 懒加载组件
},
{
path: "/VoltageSag", //电压暂降监测平台_北京