mirror of
https://github.com/vuejs/vue.git
synced 2024-11-21 20:28:54 +00:00
fix(watch): avoid traversing objects that are marked non-reactive (#12806)
This commit is contained in:
parent
8e262618cd
commit
5960f05c69
@ -21,6 +21,7 @@ function _traverse(val: any, seen: SimpleSet) {
|
||||
const isA = isArray(val)
|
||||
if (
|
||||
(!isA && !isObject(val)) ||
|
||||
val.__v_skip /* ReactiveFlags.SKIP */ ||
|
||||
Object.isFrozen(val) ||
|
||||
val instanceof VNode
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user