当 Vue 处理数组与处理纯对象的方式一样

处理数组方法的弊端 Vue 在响应式的处理中,对数组与对象采用了不同的方式,如下源码所示: if (Array.isArray(value)) { const augment = hasProto ? protoAugment : copy