Browse Source

Merge pull request #223 in ~GUY/fineui from ~YOUNG/fineuig:master to master

* commit '13eda7a08ceef0f612a8a2f6a8144267abfc49fd':
  vm不一定是一个VM对象也不一定有_watchers
es6
guy 7 years ago
parent
commit
c87327c844
  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