mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix examples
This commit is contained in:
parent
0083a23d6f
commit
0a1db61b8a
@ -39,7 +39,7 @@ router.beforeEach((route, redirect, next) => {
|
|||||||
window.scrollTo(0, 0);
|
window.scrollTo(0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
const pathname = process.env.NODE_ENV === 'production' ? '/vue' : '/';
|
const pathname = process.env.NODE_ENV === 'production' ? '/vue/' : '/';
|
||||||
if (isMobile()) {
|
if (isMobile()) {
|
||||||
window.location.replace(pathname + 'examples.html#/');
|
window.location.replace(pathname + 'examples.html#/');
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user