tsx 无法获取expose #11980
chenyuxingkong
started this conversation in
General Discussions
tsx 无法获取expose
#11980
Replies: 1 comment 2 replies
-
React写习惯了吧,请按照Vue的defineCompont来定义组件:Test11 Test22 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
这是我的代码
控制台输出,看到 arguments 中是存在 expose 但是显示的传参确没有看到
简单的代码
https://play.vuejs.org/#__SSR__eNp9U8tu2zAQ/JUFL3Fam6qUtAdXNtIWObRAH2iDnggUgrSR5YoP8KEaMPTvXUqO4hhODhLEnSFndpbasw/G8C4gW7LclbYxHhz6YKAtVL0SzLudYGuhGmm09fAKCge/A8K91RIEo52CvZ/gvVZfdVAeq35kXBDhQiihSq2chzt0Pk1hBTPOuSlsId0lrNawFwogUnSLvNX1bMTmUNg6SFTeXZIIgCVrVkFeNd26RJfmSfwiqKfnWCTLooix2tAhVPZ0xjNKTzgnimc0sxPNqePZ7LwApcU7tK7RKh7Zx1eejFlTsLTwKE1beKQVQH7IaIOUfpqmgkHyCFBfA5Bl2QHIk6PtbM7GSSxkYfjWaUVzHRyJA+AEW44eY+2mazxuXWLaUDdqQcNabOPAl4RtvDdumSRlpeikCtums1yhT5SRyfmNN9f8DU+T1+ikYFGjp37Jk3cUyH1TnzgqtTRNi/a78RTOU2dF2+p/X4aatwHnD/Vyg+XfM/XJ9g+LDm1H13LCPM0U/Qjf/vqGO/qeQKmr0BL7BfAn0jBD9DjSPgZVke0j3uD28xBwo+o7d7ujyxQnPhkd0hj4w0/z6YXWH+1e8eujFP8cbhEFeMXf8nes/w9vHz6n
Beta Was this translation helpful? Give feedback.
All reactions