mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 03:44:48 +00:00
[Doc] support doc search
This commit is contained in:
@@ -4,7 +4,9 @@
|
||||
:base="base"
|
||||
:config="config"
|
||||
active="Vue 组件"
|
||||
:lang="$vantLang"
|
||||
:simulators="simulators"
|
||||
:search-config="searchConfig"
|
||||
:current-simulator="currentSimulator"
|
||||
>
|
||||
<router-view @changeDemoURL="onChangeDemoURL" />
|
||||
@@ -17,6 +19,7 @@ import docConfig from './doc.config';
|
||||
|
||||
export default {
|
||||
data() {
|
||||
this.searchConfig = docConfig.searchConfig;
|
||||
return {
|
||||
simulators: [`mobile.html${location.hash}`],
|
||||
demoURL: ''
|
||||
|
Reference in New Issue
Block a user