]> git.ipfire.org Git - thirdparty/vuejs/core.git/commit
fix(reactivity): fix shallow readonly behavior for collections (#3003)
authorHcySunYang <HcySunYang@outlook.com>
Fri, 26 Mar 2021 19:10:21 +0000 (03:10 +0800)
committerGitHub <noreply@github.com>
Fri, 26 Mar 2021 19:10:21 +0000 (15:10 -0400)
commit68de9f408a2e61a5726a4a0d03b026cba451c5bd
tree550d113d4da3073579198dea8f1281ae0a4e3535
parent9cb21d088edd097b75a038f2c11d1c921406686f
fix(reactivity): fix shallow readonly behavior for collections (#3003)

fix #3007
packages/reactivity/__tests__/collections/shallowReadonly.spec.ts [new file with mode: 0644]
packages/reactivity/__tests__/readonly.spec.ts
packages/reactivity/__tests__/shallowReadonly.spec.ts [new file with mode: 0644]
packages/reactivity/src/collectionHandlers.ts
packages/reactivity/src/reactive.ts