fix `make new` error (#5111)

pull/5113/head
杨奕 2017-05-29 11:20:30 +08:00 committed by cinwell.li
parent 39564cb7e8
commit 6577bcca41
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ Files.forEach(file => {
const navConfigFile = require('../../examples/nav.config.json'); const navConfigFile = require('../../examples/nav.config.json');
Object.keys(navConfigFile).forEach(lang => { Object.keys(navConfigFile).forEach(lang => {
let groups = navConfigFile[lang][2].groups; let groups = navConfigFile[lang][3].groups;
groups[groups.length - 1].list.push({ groups[groups.length - 1].list.push({
path: `/${componentname}`, path: `/${componentname}`,
title: lang === 'zh-CN' && componentname !== chineseName title: lang === 'zh-CN' && componentname !== chineseName