菜单的获得方式 <sidebar-item v-for="route in $router.options.routes" :key="route.path" :item="route" :base-path="route.path" :totalNum="totalNum"