我这个用我同事就不会没有更新的版本就不会报错
uni.createCanvasContext('abowcanvas',_this)自定义组件会报
Property or method "toJSON" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property
是不能uni.createCanvasContext()中不能添加this,可是不添加就会canvas就绘画不出来啊