-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
The emits from defineModel
are missing in tsx file
#11836
Labels
Comments
Perhaps this issue is also related to |
I updated the mini repodunction. |
@zcf0508 😓 I was confused by your comment. Your comment is "<- Have not |
I'm sorry for my confused description, And I recreate a mini repoduction . |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Vue version
3.5.2
Link to minimal reproduction
https://play.vuejs.org/#eNqlU9uO0zAQ/ZVZv6QrbRJVhZcqjQRopQWJi2ARDwSxIZmkWRw7sp1QFOXfGdtN2l1xeaCqWs+c45kzF4/sWddFQ49syxJdqKYzoNH0XZqJpu2kMjCCwgomqJRsISBqsEAvZNutj0AUO8vGIkImCim0gVbXsLMBVsENci7hk1S8vAguZ4LsUKyPlCrnGglJYq+ENJBhsO14bpAsgGS/TsfRhZ2mJCbLeRvR9QaGsJUl8l3GCM8YxB70Ko/g1iYkhsubsTTxslNILsIQbveNBvqqpt4bCEMKkMRnAtgVM5qEV00d3WspqGujzZGxgqI0HNXbzjRUWMa24BCL5VT4j1fOZ1SPV7O/2GPx/Tf+e32wvoy9U6hRDZixBTO5qtF4+PrDGzzQeQGpwp4T+y/ge9SS91ajpz3vRUmyz3hO7Us34EbUt/r6YFDouSgr1DInx88Yjds28E+ln+RuoifuXiYm6uKyK4/3DnguapqPoTjU8NOS0I6UWDUCX9sxJt+k5JiLdBVYMLjyKYmR99xswa0SpfrHNpXN4A501FyaeWNi7388+l67WteR0QfS/X/vAw+OUvWisG2DOfjq0pfyoPLz12FBRa1SAj577ZZ0HB/d3qWw8sa8+7PlmbvR/kZDznukaSyQ+NiVVKp/IOOKcBfrRCYd9D9BHEMSwk0+IAjq2d2Dm3dgfnZuQ+xneV7eQeoBvkCufXV+Fb4OqOx6UUc30dNow6Zfh/Z/aQ==
Steps to reproduce
defineModel
What is expected?
The type of
onUpdate
should be rightWhat is actually happening?
There is no
onUpdate
prop in the componentSystem Info
Any additional comments?
I tested both
[email protected]
and[email protected]
, and encountered the same issue in both cases, leading me to conclude that the problem lies with Vue rather than Volar.I downgraded Vue to version 3.4.38, and it works now.
The text was updated successfully, but these errors were encountered: