Browse Source

DEC-10656 fix: 打个patch,原因后面在分析

es6
iapyang 5 years ago
parent
commit
29c565a111
  1. 6
      src/polyfill/lodash.js

6
src/polyfill/lodash.js

@ -38,7 +38,11 @@ if (typeof Object.getPrototypeOf !== "function") {
}
: function (object) {
// May break if the constructor has been tampered with
return object.constructor.prototype;
try {
return object.constructor.prototype;
} catch (e) {
return {};
}
};
}

Loading…
Cancel
Save