Merge branch 'dev' into next

This commit is contained in:
chenjiahan
2020-08-25 19:08:29 +08:00
6 changed files with 80 additions and 9 deletions
+12
View File
@@ -39,6 +39,18 @@ module.exports = {
apiKey: '90067aecdaa2c85220e2783cd305caac',
indexName: 'vant',
placeholder: '搜索文档...',
transformData(hits) {
if (location.hostname === 'vant-contrib.gitee.io') {
hits.forEach((hit) => {
if (hit.url) {
hit.url = hit.url.replace(
'youzan.github.io',
'vant-contrib.gitee.io'
);
}
});
}
},
},
nav: [
{