guy 7 years ago
parent
commit
264ad88bd4
  1. 8
      dist/fix/fix.js

8
dist/fix/fix.js vendored

@ -909,19 +909,19 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
enumerable: true, enumerable: true,
configurable: true, configurable: true,
get: function get() { get: function get() {
if (key in vm.$$computed) { if (vm.$$computed && key in vm.$$computed) {
return vm.$$computed[key]; return vm.$$computed[key];
} }
if (key in vm.$$state) { if (vm.$$state && key in vm.$$state) {
return vm.$$state[key]; return vm.$$state[key];
} }
return vm.$$model[key]; return vm.$$model[key];
}, },
set: function set(val) { set: function set(val) {
if (key in vm.$$state) { if (vm.$$state && key in vm.$$state) {
return vm.$$state[key] = val; return vm.$$state[key] = val;
} }
if (key in vm.$$model) { if (vm.$$model && key in vm.$$model) {
return vm.$$model[key] = val; return vm.$$model[key] = val;
} }
} }

Loading…
Cancel
Save