From a375a81c1b0fba3b31d19b4a4e3007f66c5a662d Mon Sep 17 00:00:00 2001 From: MaysWind Date: Thu, 10 Dec 2020 23:22:51 +0800 Subject: [PATCH] disable animation in some page --- src/router/mobile.js | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/src/router/mobile.js b/src/router/mobile.js index 064c6166..66d499b9 100644 --- a/src/router/mobile.js +++ b/src/router/mobile.js @@ -105,22 +105,34 @@ const routes = [ { path: '/', component: HomePage, - beforeEnter: checkLogin + beforeEnter: checkLogin, + options: { + animate: false, + } }, { path: '/login', component: LoginPage, - beforeEnter: checkNotLogin + beforeEnter: checkNotLogin, + options: { + animate: false, + } }, { path: '/signup', component: SignUpPage, - beforeEnter: checkNotLogin + beforeEnter: checkNotLogin, + options: { + animate: false, + } }, { path: '/unlock', component: UnlockPage, - beforeEnter: checkLocked + beforeEnter: checkLocked, + options: { + animate: false, + } }, { path: '/transaction/details',