[代码优化](v2.6):update
This commit is contained in:
@@ -22,7 +22,7 @@ router.beforeEach((to, from, next) => {
|
|||||||
})()
|
})()
|
||||||
}, 0)
|
}, 0)
|
||||||
if (to.meta.title) {
|
if (to.meta.title) {
|
||||||
document.title = to.meta.title + ' - ' + Config.title
|
document.title = Config.title + ' - ' + to.meta.title
|
||||||
}
|
}
|
||||||
NProgress.start()
|
NProgress.start()
|
||||||
if (getToken()) {
|
if (getToken()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user