|
@@ -3,7 +3,7 @@ import store from './store'
|
3
|
3
|
import { Message } from 'element-ui'
|
4
|
4
|
import NProgress from 'nprogress' // progress bar
|
5
|
5
|
import 'nprogress/nprogress.css' // progress bar style
|
6
|
|
-import { getToken } from '@/utils/auth' // get token from cookie
|
|
6
|
+import { getToken } from '@/utils/auth' // get token from localstorage
|
7
|
7
|
import getPageTitle from '@/utils/get-page-title'
|
8
|
8
|
|
9
|
9
|
NProgress.configure({ showSpinner: false }) // NProgress Configuration
|