Merge pull request #1366 from RickCole21/master

fix: doc nav active issue
This commit is contained in:
RickCole 2021-01-11 14:38:19 +08:00 committed by GitHub
commit db7992d3cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -252,10 +252,7 @@ export class App extends React.PureComponent<{
)}
<ul className={`HeaderLinks`}>
<Link
to={`${ContextPath}/zh-CN/docs/index`}
activeClassName="is-active"
>
<Link to={`${ContextPath}/zh-CN/docs`} activeClassName="is-active">
</Link>
<Link to={`${ContextPath}/style`} activeClassName="is-active">