-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
Compilation failed. 使用逗号定义时编译错误 #6757
Comments
I have played around with the provided example and here are some observations:
Hope this helps. |
如果有定义并且在 Any definition after |
Vue version
3.2.39
Link to minimal reproduction
https://sfc.vuejs.org/#eNptUMtOw0AM/BVrL0mlNrmHthJCHDjBneWQLk7ZkH1o7fBQlH/H20LooT55PPbYnkndxlh9jKgatSWTbGQg5DHutbcuhsQwwRH5bkwJPT944tYbhBm6FBwUMllor70Jwkir4S/hdldGytVaezhFTCGSNL1iZz0+ZVROfySAZXQNXBQA+DtiA4+HHg0vMjlEoh0HbqBcwW4P5TT/rwGYl/yijM7ysvxeAJXPhRmseS9eVjfab+uzD+KAALklDi2jIIBMLgW1VmeHNq6NVU/Bi4enq/UvQVotf2glVmWs1RtzpKauqTPZ+Z6qkI61ZFUaPVuHFZLbHFL4JEwirFWWmLWf1fwDqRCLOg==
Steps to reproduce
getCurrentInstance 和其他一起使用逗号定义,会出现编译错误,详见SFC。
Use comma definitions with getCurrentInstance and others, compilation errors will occur, see SFC for details.
What is expected?
Compilation passed.
What is actually happening?
Compilation failed.
System Info
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: