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

vModel 修饰符不能动态 #679

Closed
luocong2016 opened this issue Nov 10, 2023 · 2 comments · Fixed by #642
Closed

vModel 修饰符不能动态 #679

luocong2016 opened this issue Nov 10, 2023 · 2 comments · Fixed by #642
Labels
enhancement New feature or request

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
Collaborator

#642

@zhiyuanzmj
Copy link
Collaborator

vue-macros already supports dynamic argument

image

@sxzz sxzz added type enhancement New feature or request and removed type labels May 26, 2024
@sxzz sxzz changed the title [BUG] vModel 修饰符不能动态 vModel 修饰符不能动态 May 26, 2024
@sxzz sxzz closed this as completed in #642 Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants