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

fix(compiler-sfc): destructure StringLiteral key not register bindings (fix #4540) #4541

Closed
wants to merge 1 commit into from

Conversation

JuniorTour
Copy link

@JuniorTour JuniorTour commented Sep 9, 2021

Before Fix #4540 After Fix #4540
Screenshot image image

@yyx990803
Copy link
Member

Thanks for the PR, but in fact with a dynamic key the key node can be any expression type. See more complete fix in a6e5f82

@yyx990803 yyx990803 closed this Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

<template> can not find the variable when i use destructuring assignment in the <script setup>
2 participants