Bootstrap

vue+elementui navmenu,监听子路由变化复用组件的问题

话不多说,看代码,用 elementui navmenu来配路由,但是4个子路由是同一个组件

{
        path: "/alo",
        name: "Alo",
        component: () =>
            import ("../views/Alo.vue"),
        children: [{
                path: "/1",
                component: () =>
                    import ( /* webpackChunkName: "about" */ "../views/Alo.vue"),
            },
            {
                path: "/2",
                component: () =>
                    import ( /* webpackChunkName: "about" */ "../views/Alo.vue"),
            },
            {
                path: "/3",
                component: () =>
                    import ( /* webpackChunkName: "about" */ "../views/Alo.vue"),
            },
            {
                path: "/4",
                component: () =>
                    import ( /* webpa
;