taro-plugin-canvas
taro-plugin-canvas copied to clipboard
Converting circular structure to JSON
在使用时报错
TypeError: Converting circular structure to JSON
--> starting at object with constructor 'qe'
| property '$component' -> object with constructor 'CanvasDrawer'
--- property '$scope' closes the circle
at JSON.stringify (
追踪到了taro-plugin-canvas/dist/weapp/component/taro-plugin-canvas/index.jsx第84行,在this.ctx = Taro.createCanvasContext(this.canvasId, this.$scope) 这句话的第二个参数有问题,不知道对不对,不知道有没有大佬遇到这个问题,烦请指教
同问
我发现painter这个库同样又这个问题
我发现painter这个库同样又这个问题
提供一下配置文件,晚点看下