|
|
@ -359,7 +359,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons |
|
|
|
uniq[name] = true; |
|
|
|
uniq[name] = true; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
//添加访问器属性
|
|
|
|
//添加访问器属性
|
|
|
|
for (name in accessors) { |
|
|
|
for (name in accessors) { |
|
|
|
if (uniq[name]) { |
|
|
|
if (uniq[name]) { |
|
|
|
continue; |
|
|
|
continue; |
|
|
@ -850,7 +850,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons |
|
|
|
// Deep watchers and watchers on Object/Arrays should fire even
|
|
|
|
// Deep watchers and watchers on Object/Arrays should fire even
|
|
|
|
// when the value is the same, because the value may
|
|
|
|
// when the value is the same, because the value may
|
|
|
|
// have mutated.
|
|
|
|
// have mutated.
|
|
|
|
options && options.refresh || this.deep) { |
|
|
|
_.isObject(value) && options && options.refresh || this.deep) { |
|
|
|
// set new value
|
|
|
|
// set new value
|
|
|
|
var oldValue = this.value; |
|
|
|
var oldValue = this.value; |
|
|
|
this.value = value; |
|
|
|
this.value = value; |
|
|
@ -1462,4 +1462,4 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons |
|
|
|
exports.toJSON = toJSON; |
|
|
|
exports.toJSON = toJSON; |
|
|
|
|
|
|
|
|
|
|
|
exports.__esModule = true; |
|
|
|
exports.__esModule = true; |
|
|
|
}); |
|
|
|
}); |
|
|
|