Browse Source

无JIRA任务 ob的splice实现问题

es6
fay 4 years ago
parent
commit
a6b7975684
  1. 2
      dist/fix/fix.js

2
dist/fix/fix.js vendored

@ -652,7 +652,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
args = inserted;
break;
case 'splice':
if (args.length > 2) {
args = [args[0], args[1]].concat(inserted ? inserted : []);
}
break;
}
var result = original.apply(this, args);

Loading…
Cancel
Save