mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 09:24:25 +00:00
fix example
This commit is contained in:
@@ -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 => {
|
||||
|
Reference in New Issue
Block a user