Browse Source

无jira任务 **.a.**场景

es6
imp 4 years ago
parent
commit
6bf05cc303
  1. 8
      dist/fix/fix.js

8
dist/fix/fix.js vendored

@ -1084,7 +1084,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
if (root._globalDeps[regStr].length === 0) { if (root._globalDeps[regStr].length === 0) {
delete root._globalDeps[regStr]; delete root._globalDeps[regStr];
_w.teardown() _w.teardown();
} }
} }
}); });
@ -1132,9 +1132,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
if (_root._globalDeps) { if (_root._globalDeps) {
remove(_root._globalDeps[_regStr], _dep2); remove(_root._globalDeps[_regStr], _dep2);
if (root._globalDeps[regStr].length === 0) { if (_root._globalDeps[_regStr].length === 0) {
delete root._globalDeps[regStr]; delete _root._globalDeps[_regStr];
_w.teardown() _w2.teardown();
} }
} }
}); });

Loading…
Cancel
Save