[代码优化](v2.6):update

This commit is contained in:
zhengjie
2021-02-06 18:16:52 +08:00
parent 1bac787019
commit e7ebdb71ee

View File

@@ -22,7 +22,7 @@ router.beforeEach((to, from, next) => {
})()
}, 0)
if (to.meta.title) {
document.title = to.meta.title + ' - ' + Config.title
document.title = Config.title + ' - ' + to.meta.title
}
NProgress.start()
if (getToken()) {