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

[BUG] vModel 修饰符不能动态 #679

Open
luocong2016 opened this issue Nov 10, 2023 · 2 comments
Open

[BUG] vModel 修饰符不能动态 #679

luocong2016 opened this issue Nov 10, 2023 · 2 comments

Comments

@luocong2016
Copy link

🐛 Bug description

 v-model={[dataRef.value, 'value']}

📝 Steps to reproduce

v-model argumens 无法动态,如静态变量承接都会引起 update:XX 函数是 undefined

🏞 Desired result

const xx = 'value'
 v-model={[dataRef.value, xx]}

🚑 Other information

@zhiyuanzmj
Copy link
Contributor

#642

@zhiyuanzmj
Copy link
Contributor

vue-macros already supports dynamic argument

image

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

No branches or pull requests

2 participants