mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[Doc] fix language switch
This commit is contained in:
parent
be60e268df
commit
bdd68060b4
@ -23,6 +23,7 @@ window.syncPath = function(dir) {
|
|||||||
iframe.contentWindow.changePath(lang, currentDir);
|
iframe.contentWindow.changePath(lang, currentDir);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
setLang(lang);
|
||||||
} else if (isInIframe) {
|
} else if (isInIframe) {
|
||||||
window.top.changePath(lang, currentDir);
|
window.top.changePath(lang, currentDir);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user