فهرست منبع

Update 删除测试路由

Yue 1 روز پیش
والد
کامیت
795fffeb4c
2فایلهای تغییر یافته به همراه2 افزوده شده و 28 حذف شده
  1. 0 27
      UI/VAP_V3.VUE/src/router/index.ts
  2. 2 1
      UI/VAP_V3.VUE/vite.config.ts

+ 0 - 27
UI/VAP_V3.VUE/src/router/index.ts

@@ -40,33 +40,6 @@ export const constantRoutes: RouteRecordRaw[] = [
 					title: "个人中心",
 					noCache: false
 				}
-			},
-			{
-				path: "/t",
-				name: "test",
-				component: () => import("@/views/test/index.vue"),
-				meta: {
-					title: "测试",
-					noCache: false
-				}
-			},
-			{
-				path: "/t2",
-				name: "test2",
-				component: () => import("@/views/test/index2.vue"),
-				meta: {
-					title: "测试2",
-					noCache: false
-				}
-			},
-			{
-				path: "/t3",
-				name: "test3",
-				component: () => import("@/views/test/auto-row-merge-test.vue"),
-				meta: {
-					title: "测试2",
-					noCache: false
-				}
 			}
 		]
 	},

+ 2 - 1
UI/VAP_V3.VUE/vite.config.ts

@@ -134,9 +134,10 @@ export default defineConfig(({ mode, command }) => {
 			https: env.VITE_APP_HTTPS === "true" ? { cert: undefined, key: undefined } : undefined,
 			proxy: {
 				[env.VITE_APP_BASE_API]: {
-					target: "http://localhost:6071",
+					// target: "http://localhost:6071",
 					// target: env.VITE_APP_PROXY_URL,
 					// target: "http://192.168.0.104:6080",
+					target: "http://shvber.com:5281",
 					changeOrigin: true,
 					rewrite: (path) => path.replace(new RegExp("^" + env.VITE_APP_BASE_API), "")
 				}