会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
axelccc
博客园
首页
新随笔
联系
订阅
管理
2024年6月12日
解决zrender问题,painterCtors[rendererType] is not a constructor
摘要: 总的来说是因为是因为渲染器注册的代码被 tree-shaked 了 在引入的代码手动显式的注册一下即可: import * as zrender from 'zrender' ; import CanvasPainter from 'zrender/lib/canvas/Painter'; zren
阅读全文
posted @ 2024-06-12 16:57 axelccc
阅读(125)
评论(0)
推荐(0)
公告