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

run dev:weapp 就不显示,bulid却可以显示 #33

Open
Yusuf1110 opened this issue Jul 13, 2023 · 4 comments
Open

run dev:weapp 就不显示,bulid却可以显示 #33

Yusuf1110 opened this issue Jul 13, 2023 · 4 comments

Comments

@Yusuf1110
Copy link

No description provided.

@fullee
Copy link

fullee commented Aug 26, 2023

俺也一样

@xmh0511
Copy link

xmh0511 commented Sep 5, 2023

遇到同样的问题,版本Taro v3.6.15

@CarbonPool
Copy link

遇到一样的问题,根据官方demo来的,是builder生成的echarts.js,run build:weapp可以显示,3.6.20

@Hooych
Copy link

Hooych commented Mar 12, 2024

dev:weapp 在编译到小程序时会判断是否使用了canvas,若未使用则base.wxml不会存在canvas占位符;
解决方法:在使用Echarts的地方,添加一个<Canvas style={{ display: "none" }} />即可。

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

5 participants