From d3f5c544d0511d950f0668cb17023bd76b063dbb Mon Sep 17 00:00:00 2001 From: guy Date: Tue, 26 Dec 2017 15:54:38 +0800 Subject: [PATCH] update --- dist/fix/fix.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/fix/fix.js b/dist/fix/fix.js index be39030472..d65fb4f967 100644 --- a/dist/fix/fix.js +++ b/dist/fix/fix.js @@ -1226,7 +1226,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons if (model instanceof Observer || model instanceof Model) { model = model.model; } - if (model.__ob__) { + if (model && model.__ob__) { this.$$model = model; } else { this.options = model || {};