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

你好~ 为什么我的外部import的组件也报了no-doret-xxcomponent的错误呢 #30

Open
penghuwan opened this issue Oct 18, 2019 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@penghuwan
Copy link

屏幕快照 2019-10-18 上午8 53 18

您好~ 如题所示,我认为应该只有在props中使用xxcomponent才需要报错吧,我这里使用的是外部import的组件,我觉得应该是能够在转换的时候确定的,所以应该不用报错吧

如有不对,请指正

@ykforerlang
Copy link
Member

@penghuwan 你说的对! 这是个bug

@ykforerlang ykforerlang added the bug Something isn't working label Oct 18, 2019
@ykforerlang ykforerlang self-assigned this Oct 18, 2019
@ykforerlang
Copy link
Member

现在是根据 “Component” 这个字符串来确定的,的确有问题。

@penghuwan
Copy link
Author

我发现了盲点,你萌是不是该夸奖我一下
u=4227252709,1065991681 fm=26 gp=0

如果可以的话,请给我点个赞

@ykforerlang
Copy link
Member

已经点了:smile::smile::smile: 可以先把eslint里面这个规则去掉,或者 暂时把这个组件改个名字

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants