Skip to content

Template cannot correctly handle Chinese variable names(中文变量名) #8939

@carvenl

Description

@carvenl

Vue version

3.3.4

Link to minimal reproduction

https://play.vuejs.org/#eNqNUkFOwzAQ/MrKl4JUkgO3Kq1oSw9wAATcMIeSbkNax7ZsJ1SK8hcuPKO/gX+wTppQIRRxsdY745nZlUs21ToocmQjFtnYpNqBRZfrCZexktaBQzrGcPK5f//62J/CeAIleEgJDIRKOqDiMgobCXpMF4eZFkuHdAOIVmlRF1S+5M4pCcXZWpkxZ40AqDU8DaaDIQxm/pj743LwzBlcxCKNt8T0WVo/zg5yAGUJB42KQtQWYePRWIetd08IlP8JcDw3yl8ZSKLXPwq7jbAhc5bE1mkSbKyStP3SU71DplOB5la7lMw4G0GNeGwphHq7rnvO5Dhs+/Erxts/+hu78z3O7gxaNAVy1mFuaRJ0Dbx4uMEd1R2YqVUuiN0D3iMtIvcZG9oslyuKfcSr015lWhmXyuTRLnYOpW2H8kE9s6r5nNEXnPeM/hP3PDiv33FZseobI5npmw==

Steps to reproduce

click these buttons and open the F12 console, the printed text is always the first button, rather than the corresponding button.

What is expected?

print the content corresponding to each item.

What is actually happening?

The Chinese variable names are not handled correctly in the template.
If the Chinese variable names are changed to English, this issue does not occur.

System Info

No response

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions