Browse Source

Merge pull request #1174 in VISUAL/fineui from ~TELLER/fineui:master to master

* commit '29c565a1110184444e4436a1b5342fffd172834e':
  DEC-10656 fix: 打个patch,原因后面在分析
es6
Teller 5 years ago
parent
commit
088c9dd1aa
  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