无法获取到canvas的context;
js:
wx.createSelectorQuery().select("#cutCanvas").context(function (res){var y = res.context;}
wxml:
<canvas canvas-id="cutCanvas" id="cutCanvas" hidden="{{canvasHidden}}"
style="width:{{cutCanvasWH}}px; height: {{cutCanvasWH}}px; "></canvas>
设备类型:Mi 10arm64-v8a,GLK-AL00arm64-v8a,JEF-AN00arm64-v8a,PCEM00arm64-v8a
你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)