zhaozhong

Results 2 comments of zhaozhong

> 可以把以下代码插入到容器中,暂时来解决这个问题,但从长远来看,还是得想办法解决`递归 parentNode 会访问到沙箱外原始 document 对象的问题` > > ```js > // 解决报错问题 > var rawGetComputedStyle = window.getComputedStyle; > window.getComputedStyle = function (el, pseudoElt) { > if (el === document) return...

我只要用到 this.wxCanvas = new wxDraw(context, 0, 0, '400', '300') 就会收到同样的错误,并且该错误影响后续一些 js 的执行,且所有 shape 都无法拖动