通过给侧边栏设置 router 属性为 true,我们就能开启 vue-router 路由模式,然后将我们二级菜单的 index 属性绑定我们的数据 path 即可。
router
true
vue-router
index
path