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'
33import _ from ' lodash'
44export default {
55 props: {
6- num: Number ,
76 name: String ,
87 searchData: Array ,
98 },
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ export default {
150150 }
151151 return (
152152 < div class = ' page-wrapper' >
153- < Header num = { Object . keys (AllDemo). length } searchData= {searchData} name= {name}/ >
153+ < Header searchData= {searchData} name= {name}/ >
154154 < a- locale- provider locale= {locale}>
155155 < div class = ' main-wrapper' >
156156 < a- row>
@@ -162,7 +162,7 @@ export default {
162162 inlineIndent= {40 }
163163 mode= ' inline' >
164164 {this .getDocsMenu (isCN)}
165- < a- sub- menu title= ' Components' key= ' Components' >
165+ < a- sub- menu title= { ` Components( ${ searchData . length } ) ` } key= ' Components' >
166166 {MenuGroup}
167167 < / a- sub- menu>
168168 < / a- menu>
You can’t perform that action at this time.
0 commit comments