mirror of https://github.com/ElemeFE/element
Chore: update 'make new' script
parent
aa09c4651b
commit
ef9458f20f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue