单点登录,动态新增
This commit is contained in:
@@ -11,6 +11,7 @@ NProgress.configure({ showSpinner: false })
|
||||
const whiteList = ['/login', '/register']
|
||||
|
||||
router.beforeEach((to, from, next) => {
|
||||
console.log("**************************************");
|
||||
NProgress.start()
|
||||
if (getToken()) {
|
||||
to.meta.title && store.dispatch('settings/setTitle', to.meta.title)
|
||||
|
||||
Reference in New Issue
Block a user