From 0f76206df4195a54238ae766d91ec4a3c8ff4ece Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=A8=E7=93=9C=E4=B8=80=E5=9D=97=E5=85=AB?= <2523890936@qq.com> Date: Mon, 4 Aug 2025 13:33:44 +0800 Subject: [PATCH] bugfix --- f/web-kboss/src/router/index.js | 4 +- .../homePage/components/topBox/index.vue | 7 +- .../views/homePage/ncmatch/mainPage/index.vue | 62 ++++++++++--- .../ncmatch/mainPage/productCard/index.vue | 8 +- .../ncmatch/mainPage/sendProduct/index.vue | 90 +++++++++++++++---- .../ncmatch/supplyAndDemandSquare/index.vue | 67 ++++++++++---- f/web-kboss/src/views/login/indexNew.vue | 4 +- f/web-kboss/src/views/setting/tools.js | 4 +- 8 files changed, 187 insertions(+), 59 deletions(-) diff --git a/f/web-kboss/src/router/index.js b/f/web-kboss/src/router/index.js index a6e5c9d..e72795b 100644 --- a/f/web-kboss/src/router/index.js +++ b/f/web-kboss/src/router/index.js @@ -18,7 +18,7 @@ import SecurityGroupDetail import ShowGpu from "@/views/product/productHome/capitalOnline/productItem/GpuProduct/ShowGpu/index.vue"; import ShowEip from "@/views/product/productHome/capitalOnline/Net/Eip/showEip/index.vue"; import CreateEip from "@/views/product/productHome/capitalOnline/Net/Eip/createEip/index.vue"; - +import { getHomePath } from '@/views/setting/tools' Vue.use(Router); // const originalPush = Router.prototype.push @@ -293,7 +293,7 @@ export const asyncRoutes = [ // }, { - path: "/homePage", + path: getHomePath()=='/ncmatchHome/index' ? "/ncmatchHome" : "/homePage", component: () => import("@/views/homePage/indexLast.vue"), name: "homePage", redirect: "/homePage/index", diff --git a/f/web-kboss/src/views/homePage/components/topBox/index.vue b/f/web-kboss/src/views/homePage/components/topBox/index.vue index 905a253..2c7d914 100644 --- a/f/web-kboss/src/views/homePage/components/topBox/index.vue +++ b/f/web-kboss/src/views/homePage/components/topBox/index.vue @@ -2,7 +2,7 @@