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

In a Vue template, when writing a for loop and using Chinese variables, the parameter passed to the bound event is always the first value of the array. #10542

Closed
ken1987 opened this issue Mar 18, 2024 · 1 comment · May be fixed by #10575

Comments

@ken1987
Copy link

ken1987 commented Mar 18, 2024

Vue version

3.4.21

Link to minimal reproduction

https://play.vuejs.org/#eNp9kU1OwzAQha8y8qYglVb8rKq04kddwAIQsMMsQjopbhPb8k+oFGXNDbgFew6EOAdjm5YuUHfx+57fvIlbdqb1oPHIRiyzhRHagUXn9YRLUWtlHLRgsIQOSqNq6JG1B1xyWShpHeTGwBgeD/tw9LTWCh80urS3z2U2TKmURweHta5yh3QCyGaimRSVKJbw7J1TcgRtG293XTYMMLoSg+agVGbM2dfnx/f7GwgZZnMGpzGBQBqbMGcTivq1hrQUQoHZcKsD6zNnqXQp5oOFVZJ+QhtmUpiqtajQ3GgnaCnOqFsggeVVpV6vouaMx/5aL16wWP6jL+wqaJzdGrRoGuRsw1xu5ugSnt5f44q+N7BWM1+Rewe8Q6sqHzom27mXM6q95YttL+NTCjl/sNOVQ2nXS4WiwdlFP2f0vBc7Vv+rezw4ife47Fj3A6JWx6E=

Steps to reproduce

  1. in a Vue template, writing a for loop and using Chinese variables
  2. the parameter passed to the bound event
  3. clicking the second button

What is expected?

When clicking the second button, the displayed value is 2.

What is actually happening?

When clicking the second button, the displayed value is 1.

System Info

macOS 12.6.3 / chrome 122

Any additional comments?

No response

@edison1105
Copy link
Member

edison1105 commented Mar 24, 2024

duplicate of #6367

@edison1105 edison1105 closed this as not planned Won't fix, can't repro, duplicate, stale Mar 24, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Apr 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants