Browse Source

fix doc

pull/165/head
tjz 7 years ago
parent
commit
69ecd05c58
  1. 1
      site/components/header.vue
  2. 4
      site/components/layout.vue

1
site/components/header.vue

@ -3,7 +3,6 @@ import { isZhCN } from '../util'
import _ from 'lodash'
export default {
props: {
num: Number,
name: String,
searchData: Array,
},

4
site/components/layout.vue

@ -150,7 +150,7 @@ export default {
}
return (
<div class='page-wrapper'>
<Header num={Object.keys(AllDemo).length} searchData={searchData} name={name}/>
<Header searchData={searchData} name={name}/>
<a-locale-provider locale={locale}>
<div class='main-wrapper'>
<a-row>
@ -162,7 +162,7 @@ export default {
inlineIndent={40}
mode='inline'>
{this.getDocsMenu(isCN)}
<a-sub-menu title='Components' key='Components'>
<a-sub-menu title={`Components(${searchData.length})`} key='Components'>
{MenuGroup}
</a-sub-menu>
</a-menu>

Loading…
Cancel
Save