Browse Source

DEC-8536 fix : 修复 _mount执行中断导致context指向错误问题.

es6
dailer 5 years ago
parent
commit
fbfeaa5021
  1. 4
      dist/fix/fix.compact.js

4
dist/fix/fix.compact.js vendored

@ -172,7 +172,11 @@
var old = BI.Widget.prototype[name]; var old = BI.Widget.prototype[name];
old && (BI.Widget.prototype[name] = function () { old && (BI.Widget.prototype[name] = function () {
this.store && pushTarget(this.store); this.store && pushTarget(this.store);
try {
var res = old.apply(this, arguments); var res = old.apply(this, arguments);
} catch (e) {
console.error(e);
}
this.store && popTarget(); this.store && popTarget();
return res; return res;
}); });

Loading…
Cancel
Save