Skip to content
New issue

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

When using proxyRefs, the internal variable "composition-api.refKey'" is exposed on the object itself #817

Closed
edwardnyc opened this issue Sep 24, 2021 · 0 comments · Fixed by #818

Comments

@edwardnyc
Copy link
Contributor

edwardnyc commented Sep 24, 2021

const obj = {
  a: ref(1)
};
const data = proxyRefs(obj);

console.log(Object.keys(data));  // The output will contain the "composition-api.refKey" attribute

console.log({ ...data });
edwardnyc pushed a commit to edwardnyc/composition-api that referenced this issue Sep 24, 2021
@antfu antfu closed this as completed in #818 Oct 5, 2021
antfu pushed a commit that referenced this issue Oct 5, 2021
…on-api.refKey is exposed on the object itself #817 (#818)

Co-authored-by: neiyichao03 <nieyichao03@kuaishou.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant