From 264ad88bd45f870461c368bb86a792f8cef72839 Mon Sep 17 00:00:00 2001 From: guy Date: Tue, 14 Nov 2017 15:55:45 +0800 Subject: [PATCH] update --- dist/fix/fix.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/fix/fix.js b/dist/fix/fix.js index a8185b840..1e2582ad2 100644 --- a/dist/fix/fix.js +++ b/dist/fix/fix.js @@ -909,19 +909,19 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons enumerable: true, configurable: true, get: function get() { - if (key in vm.$$computed) { + if (vm.$$computed && key in vm.$$computed) { return vm.$$computed[key]; } - if (key in vm.$$state) { + if (vm.$$state && key in vm.$$state) { return vm.$$state[key]; } return vm.$$model[key]; }, set: function set(val) { - if (key in vm.$$state) { + if (vm.$$state && key in vm.$$state) { return vm.$$state[key] = val; } - if (key in vm.$$model) { + if (vm.$$model && key in vm.$$model) { return vm.$$model[key] = val; } }