mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
Merge branch '2.x' into dev
This commit is contained in:
commit
4e8576147e
@ -30,9 +30,6 @@ export default {
|
||||
docsearch({
|
||||
...this.searchConfig,
|
||||
container: '#docsearch',
|
||||
searchParameters: {
|
||||
facetFilters: [`lang:${this.lang}`],
|
||||
},
|
||||
});
|
||||
}
|
||||
},
|
||||
|
@ -42,6 +42,9 @@ module.exports = {
|
||||
searchConfig: {
|
||||
apiKey: '90067aecdaa2c85220e2783cd305caac',
|
||||
indexName: 'vant',
|
||||
searchParameters: {
|
||||
facetFilters: ['lang:zh-CN', 'version:3.x'],
|
||||
},
|
||||
transformItems(items) {
|
||||
if (location.hostname !== 'youzan.github.io') {
|
||||
items.forEach((item) => {
|
||||
@ -415,6 +418,9 @@ module.exports = {
|
||||
searchConfig: {
|
||||
apiKey: '90067aecdaa2c85220e2783cd305caac',
|
||||
indexName: 'vant',
|
||||
searchParameters: {
|
||||
facetFilters: ['lang:en-US', 'version:3.x'],
|
||||
},
|
||||
},
|
||||
nav: [
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user