Browse Source

fix watch

master
imp 6 years ago
parent
commit
e403d13750
  1. 2
      dist/fix/fix.js

2
dist/fix/fix.js vendored

@ -814,7 +814,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
// Deep watchers and watchers on Object/Arrays should fire even // Deep watchers and watchers on Object/Arrays should fire even
// when the value is the same, because the value may // when the value is the same, because the value may
// have mutated. // have mutated.
this.deep) { _.isArray(value) || this.deep) {
// set new value // set new value
var oldValue = this.value; var oldValue = this.value;
this.value = value; this.value = value;

Loading…
Cancel
Save