mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
[Doc] fix language switch
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user