We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.0.5
https://jsfiddle.net/57no3akz/9/
const {shallowReadonly, isProxy} = Vue
let origin = new Map([[1, {a: 1}]])
let proxy = shallowReadonly(origin)
console.log(isProxy(proxy.get(1)))
return the origin object
return the proxy of the origin object
The text was updated successfully, but these errors were encountered:
See #3003
Sorry, something went wrong.
fix(reactivity): fix shallow readonly behavior for collections (#3003)
68de9f4
fix #3007
Successfully merging a pull request may close this issue.
Version
3.0.5
Reproduction link
https://jsfiddle.net/57no3akz/9/
Steps to reproduce
const {shallowReadonly, isProxy} = Vue
let origin = new Map([[1, {a: 1}]])
let proxy = shallowReadonly(origin)
console.log(isProxy(proxy.get(1)))
What is expected?
return the origin object
What is actually happening?
return the proxy of the origin object
The text was updated successfully, but these errors were encountered: