CanvasContext.draw报错
- 当前 Bug 的表现(可附上截图)
CanvasContext.draw()或者CanvasContext.getActions()都报错
thirdScriptError
Maximum call stack size exceeded;at pages/book/editor onReady function;at api getImageInfo success callback function
RangeError: Maximum call stack size exceeded
at a (http://127.0.0.1:10884/appservice/__dev__/WAService.js:6:1576)
at a (http://127.0.0.1:10884/appservice/__dev__/WAService.js:6:1729)
无论是每个元素save()和restore()后,最后一步draw(),还是每一个元素draw()一次,都会报上面的错误,只有不调用draw(),才不报错