File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import { isZhCN } from '../util'
3
3
import _ from ' lodash'
4
4
export default {
5
5
props: {
6
- num: Number ,
7
6
name: String ,
8
7
searchData: Array ,
9
8
},
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ export default {
150
150
}
151
151
return (
152
152
< div class = ' page-wrapper' >
153
- < Header num = { Object . keys (AllDemo). length } searchData= {searchData} name= {name}/ >
153
+ < Header searchData= {searchData} name= {name}/ >
154
154
< a- locale- provider locale= {locale}>
155
155
< div class = ' main-wrapper' >
156
156
< a- row>
@@ -162,7 +162,7 @@ export default {
162
162
inlineIndent= {40 }
163
163
mode= ' inline' >
164
164
{this .getDocsMenu (isCN)}
165
- < a- sub- menu title= ' Components' key= ' Components' >
165
+ < a- sub- menu title= { ` Components( ${ searchData . length } ) ` } key= ' Components' >
166
166
{MenuGroup}
167
167
< / a- sub- menu>
168
168
< / a- menu>
You can’t perform that action at this time.
0 commit comments