Browse Source

Pull request #2538: 无JIRA任务 bugfix: 报错

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit 'b6dc01917e1aa57d24eddc0baaf23f034c016cc2':
  bugfix: 报错
es6
guy 3 years ago
parent
commit
07f4f045a3
  1. 2
      dist/fix/fix.js

2
dist/fix/fix.js vendored

@ -579,7 +579,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
// remove self from vm's watcher list
// this is a somewhat expensive operation so we skip it
// if the vm is being destroyed.
remove(this.vm._watchers, this);
remove(this.vm && this.vm._watchers, this);
var i = this.deps.length;
while (i--) {
this.deps[i].removeSub(this);

Loading…
Cancel
Save