guy 7 years ago
parent
commit
83af8860d9
  1. 2
      dist/fix/fix.js

2
dist/fix/fix.js vendored

@ -1044,7 +1044,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
} else {
this.options = model || {};
}
var state = this.state && this.state();
var state = _.isFunction(this.state) ? this.state() : this.state;
var keys = _.keys(this.$$model).concat(_.keys(state)).concat(_.keys(this.computed));
defineProps(this, keys);
this.$$model && (this.model.__ob__ = this.$$model.__ob__);

Loading…
Cancel
Save