Error: ctx.measureText is not a function
按钮官方的这个DEMO怎么提示:TypeError: ctx.measureText is not a function?
const ctx = wx.createCanvasContext('myCanvas')
ctx.font = 'italic bold 20px cursive'const metrics = ctx.measureText('Hello World')console.log(metrics.width)