提交 b38e9a4c 编写于 作者: fxy060608's avatar fxy060608

Merge branch 'dev' of https://github.com/dcloudio/uni-app into alpha

......@@ -5809,12 +5809,11 @@ function getTarget(obj, path) {
function internalMixin(Vue) {
Vue.config.errorHandler = function(err) {
console.error(err);
/* eslint-disable no-undef */
var app = getApp();
if (app && app.onError) {
app.onError(err);
} else {
console.error(err);
}
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册