小调整

pull/445/head
王良 2025-01-26 10:39:02 +08:00
parent 74d78207bf
commit 3eb49e280c
2 changed files with 3 additions and 1 deletions

View File

@ -516,7 +516,7 @@ try {
quit() quit()
}) })
log.info('background finished') log.info('background.js finished')
} catch (e) { } catch (e) {
log.error('应用启动过程中,出现未知异常:', e) log.error('应用启动过程中,出现未知异常:', e)
} }

View File

@ -39,6 +39,8 @@ try {
VueRouter.prototype.replace = function replace (location) { VueRouter.prototype.replace = function replace (location) {
return VueRouterReplace.call(this, location).catch(err => err) return VueRouterReplace.call(this, location).catch(err => err)
} }
console.info('main.js finished')
} catch (e) { } catch (e) {
console.error('页面加载出现未知异常:', e) console.error('页面加载出现未知异常:', e)
} }