|
|
@ -86,7 +86,7 @@ export const constantRouterMap = [ // 默认路由,不需要权限 |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/beforeLogin', |
|
|
|
path: '/beforeLogin', |
|
|
|
component: () => import('../components/page/beforeLogin.vue'), |
|
|
|
component: () => import('../components/page/beforeLogin.vue'), |
|
|
|
meta: { title: '智慧金融管理平台' } |
|
|
|
meta: { title: '智慧管理平台' } |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/login', |
|
|
|
path: '/login', |
|
|
@ -335,6 +335,6 @@ router.beforeEach(function(to,from,next){ |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
// 根据路由元信息设置文档标题
|
|
|
|
// 根据路由元信息设置文档标题
|
|
|
|
window.document.title = to.meta.title || '智慧金融管理' |
|
|
|
window.document.title = to.meta.title || '智慧管理' |
|
|
|
next() |
|
|
|
next() |
|
|
|
}) |
|
|
|
}) |