Open 2321605193 opened 1 year ago
问题描述 [问题描述:尽可能简洁清晰地把问题描述清楚]
安装官方文档使用 uni.canvasPutImageData,一致各种报错
复现步骤 [复现问题的步骤]
预期结果
正常绘制
实际结果
试过多种方案都不行
系统信息:
补充信息
项目信息: uniapp + vite +vue3 + script-setup
基础库
template为
已解决
1、不能使用type="2d"
2、canvasPutImageData必须要第二个参数this,虽然官方TS提示中,只需要一个参数
问题描述 [问题描述:尽可能简洁清晰地把问题描述清楚]
安装官方文档使用 uni.canvasPutImageData,一致各种报错
复现步骤 [复现问题的步骤]
预期结果
正常绘制
实际结果
试过多种方案都不行
系统信息:
补充信息
项目信息: uniapp + vite +vue3 + script-setup
基础库