微信小程序新坑-canvas没法在自定义组件中绘图

缘由:git canvas组件是一个特殊的组件,小程序彷佛不支持在component组件中调用并绘图github 解决方法canvas 1.将canvas写在page类型的组件中小程序 2.将canvas组件全部的属性方法模块化封装模块化 git地址component https://github.com/aa1312296679/canvasArc.gitblog
相关文章
相关标签/搜索