diff --git a/dist/fix/fix.js b/dist/fix/fix.js index 862cf281b4..18bdf0af45 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);