vue3环境下
onReady() {
const ctx = uni.createCanvasContext('t',getCurrentInstance());
setTimeout(() => {
ctx.beginPath();
ctx.strokeStyle = "#CCC";
ctx.lineTo(20,100);
ctx.stroke();
ctx.draw();
},1000)
},
a***@outlook.com
- 发布:2025-01-06 18:07
- 更新:2025-01-06 18:07
- 阅读:14
0 个回复