From 2bd849c7f071c9a5eac5d193824a4cc527fabca3 Mon Sep 17 00:00:00 2001 From: dingtalk_umvbsp Date: Thu, 21 Apr 2022 17:01:46 +0800 Subject: [PATCH] master --- src/layout/component/appMain.vue | 2 +- src/router/index.js | 4 ++-- src/view/home.vue | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/layout/component/appMain.vue b/src/layout/component/appMain.vue index d459351..06149b3 100644 --- a/src/layout/component/appMain.vue +++ b/src/layout/component/appMain.vue @@ -14,6 +14,6 @@ diff --git a/src/router/index.js b/src/router/index.js index b9cb54e..4ed3b28 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -8,13 +8,13 @@ export const menu = [ path:"/", name:"home", component:layout, - redirect:"/home1", + redirect:"/home", meta:{ title:"测试页面", icon:"set", }, children:[ - setPath({path:"home3",name:"home3",meta:{title:"首页", icon:"set"},page:import("@/view/home.vue")}), + setPath({path:"home",name:"home",meta:{title:"首页", icon:"set"},page:import("@/view/home.vue")}), setPath({path:"demo",name:"demo",meta:{title:"demo", icon:"set"},page:import("@/view/demo.vue")}), ] }, diff --git a/src/view/home.vue b/src/view/home.vue index 5f942d7..9ad801c 100644 --- a/src/view/home.vue +++ b/src/view/home.vue @@ -17,7 +17,7 @@