mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
feat(cli): support doc search
This commit is contained in:
@@ -53,8 +53,7 @@ export default {
|
||||
props: {
|
||||
lang: String,
|
||||
config: Object,
|
||||
versions: Array,
|
||||
searchConfig: Object
|
||||
versions: Array
|
||||
},
|
||||
|
||||
data() {
|
||||
@@ -67,6 +66,10 @@ export default {
|
||||
langLink() {
|
||||
const { lang } = this.config.nav;
|
||||
return `#${this.$route.path.replace(lang.from, lang.to)}`;
|
||||
},
|
||||
|
||||
searchConfig() {
|
||||
return this.config.searchConfig;
|
||||
}
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user