mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 16:44:21 +00:00
[Doc] fix language switch
This commit is contained in:
@@ -23,6 +23,7 @@ window.syncPath = function(dir) {
|
||||
iframe.contentWindow.changePath(lang, currentDir);
|
||||
});
|
||||
}
|
||||
setLang(lang);
|
||||
} else if (isInIframe) {
|
||||
window.top.changePath(lang, currentDir);
|
||||
}
|
||||
|
Reference in New Issue
Block a user