mp_canvas_drawer
mp_canvas_drawer copied to clipboard
绘制文本时,content必须为字符串
绘制文本时(即type: 'text'时),content内容必须为字符串。我在使用过程中content值为整数,canvas无法绘制出数字内容。 解决方案,将数值型数据转换为字符型数据即可。