爱星雾月
爱星雾月
  • 发布:2019-07-30 23:47
  • 更新:2019-08-02 10:21
  • 阅读:920

000000000000000000

分类:uni-app
2019-07-30 23:47 负责人:无 分享
已邀请:
爱星雾月

爱星雾月 (作者)

请问有人回答吗?

口区

口区 -

不用new Image(); drawImage第一个参数就是图片的路径

const ctx = uni.createCanvasContext('myCanvas')    
ctx.drawImage(“https://chenxi0763.oss-cn-shenzhen.aliyuncs.com/符号-预约.png”, 0, 0, 1, 2)    
ctx.draw()    
口区

口区 -

但是我的是正常的,本地图片和网络图片都可以

该问题目前已经被锁定, 无法添加新回复