From fe38230c976a5ce110bd6a08df90e75234a744bc Mon Sep 17 00:00:00 2001 From: ruibaby Date: Mon, 29 Apr 2019 18:04:04 +0800 Subject: [PATCH] Fixed style error. --- src/components/GlobalHeader/GlobalHeader.vue | 2 +- src/config/defaultSettings.js | 2 +- src/permission.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/GlobalHeader/GlobalHeader.vue b/src/components/GlobalHeader/GlobalHeader.vue index 745c4c47..2a68e7bd 100644 --- a/src/components/GlobalHeader/GlobalHeader.vue +++ b/src/components/GlobalHeader/GlobalHeader.vue @@ -13,7 +13,7 @@
- +
diff --git a/src/config/defaultSettings.js b/src/config/defaultSettings.js index 251c8f58..53d4f5f9 100644 --- a/src/config/defaultSettings.js +++ b/src/config/defaultSettings.js @@ -14,7 +14,7 @@ export default { primaryColor: '#1890FF', // primary color of ant design - navTheme: 'dark', // theme for nav menu + navTheme: 'light', // theme for nav menu layout: 'topmenu', // nav menu position: sidemenu or topmenu contentWidth: 'Fixed', // layout of content: Fluid or Fixed, only works when layout is topmenu fixedHeader: false, // sticky header diff --git a/src/permission.js b/src/permission.js index cdb21916..3347d951 100644 --- a/src/permission.js +++ b/src/permission.js @@ -9,7 +9,7 @@ import { ACCESS_TOKEN } from '@/store/mutation-types' NProgress.configure({ showSpinner: false }) // NProgress Configuration -const whiteList = ['login', 'register', 'registerResult'] // no redirect whitelist +const whiteList = ['login'] // no redirect whitelist router.beforeEach((to, from, next) => { NProgress.start() // start progress bar