mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 02:31:21 +00:00
fix docs
This commit is contained in:
@@ -38,7 +38,7 @@ router.beforeEach((route, redirect, next) => {
|
||||
indexScrollTop = document.body.scrollTop;
|
||||
}
|
||||
if (isMobile()) {
|
||||
window.location.replace('/examples.html#' + route.path);
|
||||
window.location.replace(location.pathname + 'examples.html#' + route.path);
|
||||
return;
|
||||
}
|
||||
document.title = route.meta.title || document.title;
|
||||
|
Reference in New Issue
Block a user