Chore: update 'make new' script

pull/9053/head
Leopoldthecoder 2017-12-26 17:14:28 +08:00 committed by 杨奕
parent aa09c4651b
commit ef9458f20f
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');
Object.keys(navConfigFile).forEach(lang => {
let groups = navConfigFile[lang][3].groups;
let groups = navConfigFile[lang][4].groups;
groups[groups.length - 1].list.push({
path: `/${componentname}`,
title: lang === 'zh-CN' && componentname !== chineseName