-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Props destructure with rest operator doesn't seem to work on 3.5.0-alpha.2 #10885
Labels
Comments
yyx990803
pushed a commit
that referenced
this issue
May 8, 2024
buqiyuan
pushed a commit
to buqiyuan/core
that referenced
this issue
May 25, 2024
wangdaoo
pushed a commit
to wangdaoo/core
that referenced
this issue
May 30, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Vue version
3.5.0-alpha.2
Link to minimal reproduction
https://play.vuejs.org/#eNqVUk1P4zAQ/SsjX2ilrrvaai/dtBJddaXlAAg4WkImnaQBx7Zsp1Sq8t+ZSQkEBEjc7Hlvvt6bgzj1Xu4aFHORJay90QmXymZ/Xe2hcG6hxKkScKcDvVb0mjI6HVDpG/NQ+QRG25JYKRItYmo8oVXtXUhwLBdcDSdyyh/uefKHSx2TiSomlJo7W1SlvI/O0kgHZQGUyCmhMhgufKqcpfJz6BDGtDHu8ayLpdDgpI/nW8wfPojfxz3HlLgMGDHsUIkXLOlQYjrC6+tz3NP7BazdpjHE/gK8wuhMwzMeaavGbmjsAa+b9n+nSWXLm7jeJ7SxX4oHZWbb8ZUgjVirz1Z/HXcmZ12esi2p2Ov7zlNOyjbVbvnPOapyYHuhbbMpxwbwSocOJn2SJOMHnO8bf4BHnfLtuigwT9A+38Cz+cqS3ZFJNMoEpJTck1gL2GBRWbwMzsesW5gYc4gpkGyUCXyR/Z+2Xo7GXG7QazQaw2IJ3MAZlMaVo36hMXHf3t3tDgO7QIrN5G/584c2fqvlL9E+Ae+UCm8=
Steps to reproduce
Just take a look at
Comp.vue
What is expected?
Output should be:
What is actually happening?
rest
doesn't exist in the template (Cannot read properties of undefined (reading 'bar')
)But
console.log(rest.bar)
works in<script setup>
System Info
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: