[Doc] rename component README file (#3662)

This commit is contained in:
neverland
2019-06-27 14:22:40 +08:00
committed by GitHub
parent a56f96c246
commit ddb24e6762
119 changed files with 4 additions and 3 deletions

View File

@@ -44,7 +44,8 @@ const registerRoute = ({ mobile, componentMap }) => {
}
} else {
const module =
componentMap[`./${path}/${lang}.md`] ||
componentMap[`./${path}/README.${lang}.md`] ||
componentMap[`./${path}/README.md`] ||
componentMap[`./${path}.${lang}.md`];
component = module.default;