Explorar o código

Chore: update 'make new' script

Leopoldthecoder %!s(int64=7) %!d(string=hai) anos
pai
achega
ef9458f20f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      build/bin/new.js

+ 1 - 1
build/bin/new.js

@@ -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