-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
fix: 小程序组件自调用时自动添加到usingComponents #4913
base: next
Are you sure you want to change the base?
Conversation
感谢你的 PR,你可以补充测试用例,或者在评论区补充相关测试场景吗?需要测试哪些场景,比如小程序关闭 easycom,并且某个个组件引用自己。 补充更多复现信息有助于定位和测试你的 PR |
https://github.com/acyza/uni-app/tree/pr_1_demo |
很强!感谢提供测试用例,我来 review 你提供的代码。 |
一些小程序组件自调用也需要声明usingComponents,而vue组件自调用是不需要导入的
注:组件在没有自动导入如:easycom,情况下才可复现此问题