uni-app 安卓nvue设置arrowLine带箭头的线不生效
uni-app 安卓nvue设置arrowLine带箭头的线不生效
示例代码:
let line = {
points: this.includePoints,
// color: 'rgba(0, 122, 255, 1)',
// borderColor: 'rgba(0, 122, 255, 1)',
arrowLine: true,
arrowIconPath: '/static/index/trace_line.png',
width: 4,
// borderWidth: 1,
}
this.polylines.splice(0, this.polylines.length, line)
```
## 操作步骤:
- 设置线条样式,设置图片不生效,此图片用在原生app开发中是没有问题的。
## 预期结果:
- 显示带箭头的线
## 实际结果:
- 显示一条黑线
## bug描述:
- 米11miui12.5.9.0,nvue中设置arrowLine、arrowIconPath,重新制作自定义基座也不生效。
```
| 信息类别 | 详细信息 |
|------------------|-------------------|
| 产品分类 | uniapp/App |
| PC开发环境操作系统 | Mac |
| PC开发环境操作系统版本号 | MacOS Big Sur |
| HBuilderX类型 | Alpha |
| HBuilderX版本号 | 3.2.0 |
| 手机系统 | Android |
| 手机系统版本号 | Android 11 |
| 手机厂商 | 小米 |
| 手机机型 | 米11 |
| 页面类型 | nvue |
| 打包方式 | 云端 |
| 项目创建方式 | HBuilderX |
更多关于uni-app 安卓nvue设置arrowLine带箭头的线不生效的实战教程也可以访问 https://www.itying.com/category-93-b0.html
2 回复
看下arrowIconPath设置的图片是否存在,按你的描述像是图片没找到


