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 @@