mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 10:07:07 +00:00
fix examples
This commit is contained in:
@@ -39,7 +39,7 @@ router.beforeEach((route, redirect, next) => {
|
||||
window.scrollTo(0, 0);
|
||||
}
|
||||
|
||||
const pathname = process.env.NODE_ENV === 'production' ? '/vue' : '/';
|
||||
const pathname = process.env.NODE_ENV === 'production' ? '/vue/' : '/';
|
||||
if (isMobile()) {
|
||||
window.location.replace(pathname + 'examples.html#/');
|
||||
return;
|
||||
|
Reference in New Issue
Block a user