Browse Source

vm不一定是一个VM对象也不一定有_watchers

es6
Young 7 years ago
parent
commit
13eda7a08c
  1. 2
      dist/fix/fix.js

2
dist/fix/fix.js vendored

@ -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);

Loading…
Cancel
Save