fix examples

This commit is contained in:
cookfront 2017-03-27 19:18:55 +08:00
parent 0083a23d6f
commit 0a1db61b8a

View File

@ -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;