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

echarts 图标不显示,可能是什么原因 #377

Closed
tlerbao opened this issue Dec 28, 2023 · 5 comments
Closed

echarts 图标不显示,可能是什么原因 #377

tlerbao opened this issue Dec 28, 2023 · 5 comments

Comments

@tlerbao
Copy link

tlerbao commented Dec 28, 2023

如下图,我原封不懂的把演示代码的lineChart代码复制到我得组件中,什么也不显示,控制台也不报错,

请问可能是什么原因造成的呢?

CleanShot 2023-12-28 at 19 25 52@2x

CleanShot 2023-12-28 at 19 29 49@2x
@HalseySpicy
Copy link
Owner

我的是按需引入的哦,你可以看看有报错没

@tlerbao
Copy link
Author

tlerbao commented Dec 28, 2023

@HalseySpicy 奇怪的是啥报错都没有

@tlerbao
Copy link
Author

tlerbao commented Dec 28, 2023

@HalseySpicy 我测试了一下,在

外面套一个div 就什么不显示了,这页面只能有一个图标元素,别的什么也不能有?
CleanShot 2023-12-28 at 21 17 54@2x

@HalseySpicy
Copy link
Owner

没宽高啊

@tlerbao
Copy link
Author

tlerbao commented Dec 30, 2023

没宽高啊

嗯发现了,close

@tlerbao tlerbao closed this as completed Dec 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants