From a6b7975684194c5dd555c9e60bca4bd47666d5d1 Mon Sep 17 00:00:00 2001 From: fay Date: Thu, 31 Dec 2020 10:17:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20ob=E7=9A=84sp?= =?UTF-8?q?lice=E5=AE=9E=E7=8E=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/fix/fix.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dist/fix/fix.js b/dist/fix/fix.js index 509acac766..352302b78c 100644 --- a/dist/fix/fix.js +++ b/dist/fix/fix.js @@ -652,7 +652,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons args = inserted; break; case 'splice': - args = [args[0], args[1]].concat(inserted ? inserted : []); + if (args.length > 2) { + args = [args[0], args[1]].concat(inserted ? inserted : []); + } break; } var result = original.apply(this, args);