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

2
dist/fix/fix.js vendored

@ -1226,7 +1226,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
if (model instanceof Observer || model instanceof Model) { if (model instanceof Observer || model instanceof Model) {
model = model.model; model = model.model;
} }
if (model.__ob__) { if (model && model.__ob__) {
this.$$model = model; this.$$model = model;
} else { } else {
this.options = model || {}; this.options = model || {};

Loading…
Cancel
Save