Browse Source

修改路由跳转

master
邓宏 2 years ago
parent
commit
3680901533
  1. 1
      src/router/index.js

1
src/router/index.js

@ -5,6 +5,7 @@ const routes=[]
export const menu = [ export const menu = [
{ {
path:"/", path:"/",
redirect:"/info",
component:()=>import("@/views/home.vue"), component:()=>import("@/views/home.vue"),
children:[ children:[
{path:"/info", component:()=>import("@/views/info.vue")}, {path:"/info", component:()=>import("@/views/info.vue")},

Loading…
Cancel
Save