pull/165/head
tjz 7 years ago
parent ae2b15ae51
commit 69ecd05c58

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

@ -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