mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs: fix website redirect (#11097)
This commit is contained in:
parent
c6baa88461
commit
a2d1280044
@ -27,6 +27,12 @@ export default {
|
||||
htmlMeta: {
|
||||
'docsearch:version': 'v3',
|
||||
},
|
||||
headHtml: `<script>
|
||||
if (location.host === 'youzan.github.io') {
|
||||
location.href = location.href.replace('youzan.github.io', 'vant-ui.github.io');
|
||||
}
|
||||
</script>
|
||||
`,
|
||||
locales: {
|
||||
'zh-CN': {
|
||||
title: 'Vant 3',
|
||||
|
Loading…
x
Reference in New Issue
Block a user