fix docs/spec/layout document title

This commit is contained in:
afc163 2016-09-30 11:51:36 +08:00
parent b63d620625
commit 4284e77d29

View File

@ -75,7 +75,7 @@ export default class ComponentDoc extends React.Component {
const { title, subtitle, filename } = meta;
return (
<DocumentTitle title={`${subtitle || ''} ${title} - Ant Design`}>
<DocumentTitle title={`${subtitle || ''} ${title[locale] || title} - Ant Design`}>
<article>
<Affix className="toc-affix" offsetTop={16}>
<ul className="toc demos-anchor">