x.fillText('产地:' + this.detail.origin, 24 / 500 this.cavW, 540 / 500 this.cavW)

- 发布:2022-06-13 16:41
- 更新:2022-06-13 16:41
- 阅读:266
产品分类: uniapp/App
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: 11.6
HBuilderX类型: 正式
HBuilderX版本号: 3.4.15
手机系统: Android
手机系统版本号: Android 11
手机厂商: 华为
手机机型: 所有安卓手机
页面类型: vue
vue版本: vue2
打包方式: 云端
项目创建方式: HBuilderX
App下载地址或H5⽹址: https://m.cciinet.com
示例代码:
操作步骤:
x.fillText('产地:' + this.detail.origin, 24 / 500 this.cavW, 540 / 500 this.cavW)
x.fillText('产地:' + this.detail.origin, 24 / 500 this.cavW, 540 / 500 this.cavW)
预期结果:
x.fillText('产地:' + this.detail.origin, 24 / 500 this.cavW, 540 / 500 this.cavW)
x.fillText('产地:' + this.detail.origin, 24 / 500 this.cavW, 540 / 500 this.cavW)
实际结果:
x.fillText('产地:' + this.detail.origin, 24 / 500 this.cavW, 540 / 500 this.cavW)
x.fillText('产地:' + this.detail.origin, 24 / 500 this.cavW, 540 / 500 this.cavW)
bug描述:
nvue gcanvas fillText中文无法使用
0 个回复