[Improvement] Progress: support gradient color (#1098)

This commit is contained in:
neverland
2018-05-18 14:28:33 +08:00
committed by GitHub
parent e9508262b7
commit eee44f0d7c
8 changed files with 87 additions and 56 deletions

View File

@@ -16,7 +16,7 @@ const router = new VueRouter({
router.beforeEach((route, redirect, next) => {
if (isMobile) {
location.replace('/zanui/vant/examples' + location.hash);
location.replace(location.pathname === '/' ? 'examples.html' : '/zanui/vant/examples' + location.hash);
}
document.title = route.meta.title || document.title;
next();