Browse Source

五JIRA任务 fix : Array.prototype.reverse() 会改变原始引用

es6
dailer 3 years ago
parent
commit
a9c63441c2
  1. 2
      dist/fix/fix.js
  2. 2
      dist/fix/fix.proxy.js

2
dist/fix/fix.js vendored

@ -1259,7 +1259,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
} }
function initMixins(vm, mixins) { function initMixins(vm, mixins) {
mixins = mixins || []; mixins = (mixins || []).slice(0);
_.each(mixins.reverse(), function (mixinType) { _.each(mixins.reverse(), function (mixinType) {
var mixin$$1 = getMixins(mixinType); var mixin$$1 = getMixins(mixinType);

2
dist/fix/fix.proxy.js vendored

@ -1795,7 +1795,7 @@
} }
function initMixins(vm, mixins) { function initMixins(vm, mixins) {
mixins = mixins || []; mixins = (mixins || []).slice(0);
_.each(mixins.reverse(), function (mixinType) { _.each(mixins.reverse(), function (mixinType) {
var mixin = getMixins(mixinType); var mixin = getMixins(mixinType);

Loading…
Cancel
Save