|
|
@ -34504,9 +34504,14 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons |
|
|
|
if (key in $$skipArray) { |
|
|
|
if (key in $$skipArray) { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
var configurable = true; |
|
|
|
|
|
|
|
var property = Object.getOwnPropertyDescriptor && Object.getOwnPropertyDescriptor(obj, key); |
|
|
|
|
|
|
|
if (property && property.configurable === false) { |
|
|
|
|
|
|
|
configurable = false; |
|
|
|
|
|
|
|
} |
|
|
|
var dep = observer && observer['__dep' + key] || new Dep(); |
|
|
|
var dep = observer && observer['__dep' + key] || new Dep(); |
|
|
|
observer && (observer['__dep' + key] = dep); |
|
|
|
observer && (observer['__dep' + key] = dep); |
|
|
|
var childOb = !shallow && observe(val, observer, key); |
|
|
|
var childOb = configurable && !shallow && observe(val, observer, key); |
|
|
|
props[key] = { |
|
|
|
props[key] = { |
|
|
|
enumerable: true, |
|
|
|
enumerable: true, |
|
|
|
configurable: true, |
|
|
|
configurable: true, |
|
|
@ -34529,7 +34534,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
val = newVal; |
|
|
|
val = newVal; |
|
|
|
childOb = !shallow && observe(newVal, observer, key); |
|
|
|
childOb = configurable && !shallow && observe(newVal, observer, key); |
|
|
|
if (childOb && value && value.__ob__) { |
|
|
|
if (childOb && value && value.__ob__) { |
|
|
|
childOb._scopeDeps = value.__ob__._scopeDeps; |
|
|
|
childOb._scopeDeps = value.__ob__._scopeDeps; |
|
|
|
childOb._deps = value.__ob__._deps; |
|
|
|
childOb._deps = value.__ob__._deps; |
|
|
|