小调整
parent
74d78207bf
commit
3eb49e280c
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue