监听所有未捕获错误事件并记录到日志中

This commit is contained in:
lyswhut
2019-12-27 21:42:19 +08:00
parent a50ecff189
commit c81171a39e
3 changed files with 15 additions and 0 deletions
+2
View File
@@ -11,6 +11,8 @@ import App from './App'
import router from './route'
import store from './store'
import '../common/error'
sync(store, router)
if (!process.env.IS_WEB) {