From 13eda7a08ceef0f612a8a2f6a8144267abfc49fd Mon Sep 17 00:00:00 2001 From: Young Date: Mon, 13 Nov 2017 15:29:49 +0800 Subject: [PATCH] =?UTF-8?q?vm=E4=B8=8D=E4=B8=80=E5=AE=9A=E6=98=AF=E4=B8=80?= =?UTF-8?q?=E4=B8=AAVM=E5=AF=B9=E8=B1=A1=E4=B9=9F=E4=B8=8D=E4=B8=80?= =?UTF-8?q?=E5=AE=9A=E6=9C=89=5Fwatchers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/fix/fix.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/fix/fix.js b/dist/fix/fix.js index 862cf281b..18bdf0af4 100644 --- a/dist/fix/fix.js +++ b/dist/fix/fix.js @@ -48,7 +48,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons } function remove(arr, item) { - if (arr.length) { + if (arr && arr.length) { var _index = arr.indexOf(item); if (_index > -1) { return arr.splice(_index, 1);