route.js的配置
{
path:"/parent",
name: 'parent',
component : () => import('@/views/parent.vue'),
meta: {
title: 'parent',path:'/parent' },
children:[
{
path:'child',
component: (
route.js的配置
{
path:"/parent",
name: 'parent',
component : () => import('@/views/parent.vue'),
meta: {
title: 'parent',path:'/parent' },
children:[
{
path:'child',
component: (