From c07a97316fb0d254e818a2b942824d26ed38a2b6 Mon Sep 17 00:00:00 2001 From: guy Date: Fri, 5 Jan 2018 22:11:26 +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 17b56748b..2bc32731d 100644 --- a/dist/fix/fix.js +++ b/dist/fix/fix.js @@ -1267,7 +1267,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons var childContext = _.isFunction(this.childContext) ? this.childContext() : this.childContext; var watch$$1 = _.isFunction(this.watch) ? this.watch() : this.watch; var actions = _.isFunction(this.actions) ? this.actions() : this.actions; - var keys = _.keys(this.$$model).concat(_.keys(state)).concat(_.keys(computed)).concat(context); + var keys = _.keys(this.$$model).concat(_.keys(state)).concat(_.keys(computed)).concat(context || []); defineProps(this, keys); childContext && defineContext(this, childContext); this.$$model && (this.model.__ob__ = this.$$model.__ob__);