disable animation in some page

This commit is contained in:
MaysWind
2020-12-10 23:22:51 +08:00
parent f1ee6f19d0
commit a375a81c1b
+16 -4
View File
@@ -105,22 +105,34 @@ const routes = [
{ {
path: '/', path: '/',
component: HomePage, component: HomePage,
beforeEnter: checkLogin beforeEnter: checkLogin,
options: {
animate: false,
}
}, },
{ {
path: '/login', path: '/login',
component: LoginPage, component: LoginPage,
beforeEnter: checkNotLogin beforeEnter: checkNotLogin,
options: {
animate: false,
}
}, },
{ {
path: '/signup', path: '/signup',
component: SignUpPage, component: SignUpPage,
beforeEnter: checkNotLogin beforeEnter: checkNotLogin,
options: {
animate: false,
}
}, },
{ {
path: '/unlock', path: '/unlock',
component: UnlockPage, component: UnlockPage,
beforeEnter: checkLocked beforeEnter: checkLocked,
options: {
animate: false,
}
}, },
{ {
path: '/transaction/details', path: '/transaction/details',