docs: simplify seciton name (#4961)

This commit is contained in:
neverland
2019-11-08 14:29:04 +08:00
committed by GitHub
parent e21c047306
commit 7ec7692918
12 changed files with 69 additions and 88 deletions
+3 -3
View File
@@ -57,13 +57,13 @@ const registerRoute = ({ mobile, componentMap }) => {
}
route.push({
name: lang + '/' + path,
component,
name: `${lang}/${path}`,
path: `/${lang}/${path}`,
meta: {
lang,
path,
name: page.title
name: path,
title: page.title
}
});
}