that shallowReadonly proxy of Map call get will return a proxy #3007
Labels
🔨 p3-minor-bug
Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.
🐞 bug
Something isn't working
scope: reactivity
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: