二级路由

二级路由

 {
      path: '/',
      component:home,
      redirect: '/first',
      children: [
        {
          path: '/first',
          name: 'first',
          component: first
        },
        {
          path: '/statistic',
          name: 'statistic',
          component:statistic
        },
        {
          path: '/query',
          name: 'query',
          component:query
        },
        {
          path: '/Task',
          name: 'Task',
          component:Task
        },
      ]
    },
发布了33 篇原创文章 · 获赞 0 · 访问量 3200

猜你喜欢

转载自blog.csdn.net/YYY1920/article/details/94737075