feat: 添加log

This commit is contained in:
ibuler 2020-06-01 11:03:38 +08:00
parent 4615128b39
commit b39a85af58

View File

@ -11,7 +11,11 @@ NProgress.configure({
router.beforeEach(async(to, from, next) => {
// start progress bar
NProgress.start()
await startup({ to, from, next })
try {
await startup({ to, from, next })
} catch (e) {
console.log('Start service error: ', e)
}
NProgress.done()
})