You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,bobiscool
首先非常感谢这个组件。
我遇到的问题是,循环生成Shape对象。并绑定事件。当点击shape对象的时候 destroy() 当前对象。
但是,发现总会出现Cannot read property 'getChoosed' of undefined的错误: thirdScriptError Cannot read property 'getChoosed' of undefined;at pages/orderconfirm/index page bindtap function TypeError: Cannot read property 'getChoosed' of undefined at WxDraw.getDetectedLayers (http://127.0.0.1:50576/appservice/utils/wxdraw.min.js:4407:71) at http://127.0.0.1:50576/appservice/utils/wxdraw.min.js:3624:35 at Array.forEach (<anonymous>) at http://127.0.0.1:50576/appservice/utils/wxdraw.min.js:3620:32 at Array.forEach (<anonymous>) at eventBus.dispatch (http://127.0.0.1:50576/appservice/utils/wxdraw.min.js:3617:24) at Shape.detect (http://127.0.0.1:50576/appservice/utils/wxdraw.min.js:3839:22) at WxDraw.<anonymous> (http://127.0.0.1:50576/appservice/utils/wxdraw.min.js:4307:18) at Array.forEach (<anonymous>) at WxDraw.tapDetect (http://127.0.0.1:50576/appservice/utils/wxdraw.min.js:4306:26)
烦请抽空debug下。Thx
The text was updated successfully, but these errors were encountered:
` for(var i=0;i<this.data.ctxData.length;i++)
{
moveCtr:function(e)
{
Hi,bobiscool
首先非常感谢这个组件。
我遇到的问题是,循环生成Shape对象。并绑定事件。当点击shape对象的时候 destroy() 当前对象。
但是,发现总会出现Cannot read property 'getChoosed' of undefined的错误:
thirdScriptError Cannot read property 'getChoosed' of undefined;at pages/orderconfirm/index page bindtap function TypeError: Cannot read property 'getChoosed' of undefined at WxDraw.getDetectedLayers (http://127.0.0.1:50576/appservice/utils/wxdraw.min.js:4407:71) at http://127.0.0.1:50576/appservice/utils/wxdraw.min.js:3624:35 at Array.forEach (<anonymous>) at http://127.0.0.1:50576/appservice/utils/wxdraw.min.js:3620:32 at Array.forEach (<anonymous>) at eventBus.dispatch (http://127.0.0.1:50576/appservice/utils/wxdraw.min.js:3617:24) at Shape.detect (http://127.0.0.1:50576/appservice/utils/wxdraw.min.js:3839:22) at WxDraw.<anonymous> (http://127.0.0.1:50576/appservice/utils/wxdraw.min.js:4307:18) at Array.forEach (<anonymous>) at WxDraw.tapDetect (http://127.0.0.1:50576/appservice/utils/wxdraw.min.js:4306:26)
烦请抽空debug下。Thx
The text was updated successfully, but these errors were encountered: