<canvas< span=""> wx:if="{{isUseNewCanvas}}" type="2d" id="{{canvasId}}" class="ec-canvas ec-canvas-new" canvas-id="{{ canvasId }}" bindinit="init" bindtouchstart="{{ ec.disableTouch ? '' : 'touchStart' }}" bindtouchmove="{{ ec.disableTouch ? '' : 'touchMove' }}" bindtouchend="{{ ec.disableTouch ? '' : 'touchEnd' }}"></canvas<>
<canvas< span=""> wx:else class="ec-canvas" id="{{canvasId}}" canvas-id="{{ canvasId }}" bindinit="init" bindtouchstart="{{ ec.disableTouch ? '' : 'touchStart' }}" bindtouchmove="{{ ec.disableTouch ? '' : 'touchMove' }}" bindtouchend="{{ ec.disableTouch ? '' : 'touchEnd' }}"></canvas<>
isUseNewCanvas 默认false vivo等手机 间歇 取不到 宽高 getcontext 等
开发工具 默认true 报错~
麻烦提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。取不到 宽高 getcontext 等这些具体的表现是怎么样的?麻烦提供下截图看看。