fix example

This commit is contained in:
cookfront
2017-03-24 17:32:31 +08:00
parent 7b729f3d15
commit f089a405a3
3 changed files with 6 additions and 1 deletions

View File

@@ -2,6 +2,10 @@ const registerRoute = (navConfig, isExample) => {
let route = [];
let navs = navConfig['zh-CN'];
navs.forEach(nav => {
if (isExample && !nav.showInMobile) {
return;
}
if (nav.groups) {
nav.groups.forEach(group => {
group.list.forEach(nav => {