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

关于v-model内不能用中文字符的问题 #3440

Closed
lhtuling opened this issue Mar 18, 2021 · 0 comments · Fixed by #3443
Closed

关于v-model内不能用中文字符的问题 #3440

lhtuling opened this issue Mar 18, 2021 · 0 comments · Fixed by #3443
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. 🐞 bug Something isn't working

Comments

@lhtuling
Copy link

lhtuling commented Mar 18, 2021

Version

3.0.7

Reproduction link

https://jsfiddle.net/o8n1qeg6/

Steps to reproduce

比如
<input v-model="data.测试">
报错
Template compilation error: v-model value must be a valid JavaScript member expression.

What is expected?

中文属性名也是可以用的

What is actually happening?

实际不可用


vue2.0支持 感觉这个需要延续下来吧 是不是还没有习惯中文命名的菜鸟来提这个问题!
如果确定以后也不支持的话基本就宣告我们这种中文命名的习惯的人要放弃使用vue3.0了
我这边老的业务代码都是中文命名的 猛的不支持了就体验很不好了

@HcySunYang HcySunYang added 🐞 bug Something isn't working 🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. labels Mar 18, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Oct 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. 🐞 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants