1.index.vue 设置name
2.router js文件
path 设置为'/'
noCache为false,
/**
* Note: sub-menu only appear when route children.length >= 1
*
* hidden: true if set true, item will not show in the sidebar(default is false) 如果设置为true,则项目将不会显示在侧边栏中(默认为false)
* alwaysShow: true if set true, will always show the root menu 如果设置为true,将始终显示根菜单
* if not set alwaysShow, when item has more than one children route, 如果不始终设置Show,则当项具有多个子路由时
* it will becomes nested mode, otherwise not show the root menu 它将成为嵌套模式