From 7acf7ad6948e3e952173a2551ea4a92a8ff56c35 Mon Sep 17 00:00:00 2001 From: suerprisePlus <15810472099@163.com> Date: 星期四, 06 六月 2024 19:36:48 +0800 Subject: [PATCH] 1 --- src/router/index.js | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index e8ad460..711e149 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1,6 +1,7 @@ import Vue from "vue"; //寮曞叆Vue import Router from "vue-router"; import mapChart from "./../views/mapChart/index.vue"; +import homePage from "./../views/homePage/index.vue"; Vue.use(Router); //Vue鍏� export default new Router({ @@ -10,7 +11,7 @@ //姣忎竴涓摼鎺ラ兘鏄竴涓璞� path: "/", //閾炬帴璺緞 name: "mapChart", //璺敱鍚嶇О锛� - component: mapChart //瀵瑰簲鐨勭粍浠舵ā鏉� + component: homePage //瀵瑰簲鐨勭粍浠舵ā鏉� } ] }); -- Gitblit v1.9.3