forked from floraachy/ImageKnife
commit
233b24032e
|
@ -6,6 +6,7 @@
|
||||||
- 增加降采样
|
- 增加降采样
|
||||||
- file格式图片,fd同步close
|
- file格式图片,fd同步close
|
||||||
- 解码pixelMap默认不可编辑,图形变化可编辑
|
- 解码pixelMap默认不可编辑,图形变化可编辑
|
||||||
|
- 修改网络请求超时设置
|
||||||
|
|
||||||
## 3.1.0-rc.2
|
## 3.1.0-rc.2
|
||||||
- 修复宽高不等svg图片显示有毛边
|
- 修复宽高不等svg图片显示有毛边
|
||||||
|
|
|
@ -275,6 +275,9 @@ ImageKnifeComponent({
|
||||||
}),animatorOption:this.animatorOption
|
}),animatorOption:this.animatorOption
|
||||||
}).width(300).height(300)
|
}).width(300).height(300)
|
||||||
```
|
```
|
||||||
|
#### 复用场景
|
||||||
|
在aboutToRecycle生命周期清空组件内容;通过watch监听触发图片的加载。
|
||||||
|
|
||||||
## 接口说明
|
## 接口说明
|
||||||
### ImageKnife组件
|
### ImageKnife组件
|
||||||
| 组件名称 | 入参内容 | 功能简介 |
|
| 组件名称 | 入参内容 | 功能简介 |
|
||||||
|
|
|
@ -479,8 +479,8 @@ async function requestJob(request: RequestJobRequest, requestList?: List<ImageKn
|
||||||
header: headerObj,
|
header: headerObj,
|
||||||
method: http.RequestMethod.GET,
|
method: http.RequestMethod.GET,
|
||||||
expectDataType: http.HttpDataType.ARRAY_BUFFER,
|
expectDataType: http.HttpDataType.ARRAY_BUFFER,
|
||||||
connectTimeout: 6000,
|
connectTimeout: 60000,
|
||||||
readTimeout: 6000,
|
readTimeout: 0,
|
||||||
// usingProtocol:http.HttpProtocol.HTTP1_1
|
// usingProtocol:http.HttpProtocol.HTTP1_1
|
||||||
// header: new Header('application/json')
|
// header: new Header('application/json')
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue