修复断网状态下错误占位图不显示
Signed-off-by: zenggaofeng <zenggaofeng2@h-partners.com>
This commit is contained in:
parent
7299aebf1b
commit
6c852da719
|
@ -1,3 +1,6 @@
|
|||
## 2.1.2-rc.1
|
||||
- 修复断网状态下错误展位图不显示
|
||||
|
||||
## 2.1.2-rc.0
|
||||
- 开放.jpg .png .gif解码能力
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"name": "entry",
|
||||
"description": "example description",
|
||||
"repository": {},
|
||||
"version": "2.1.2-rc.0",
|
||||
"version": "2.1.2-rc.1",
|
||||
"dependencies": {
|
||||
"@ohos/libraryimageknife": "file:../sharedlibrary",
|
||||
"@ohos/disklrucache": "^2.0.2-rc.0",
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
"main": "index.ets",
|
||||
"repository": "https://gitee.com/openharmony-tpc/ImageKnife",
|
||||
"type": "module",
|
||||
"version": "2.1.2-rc.0",
|
||||
"version": "2.1.2-rc.1",
|
||||
"dependencies": {
|
||||
"pako": "^2.1.0",
|
||||
"@ohos/disklrucache": "^2.0.2-rc.0",
|
||||
|
|
|
@ -77,6 +77,8 @@ export class HttpDownloadClient implements IDataFetch {
|
|||
} else {
|
||||
onError(`HttpDownloadClient has error, http code = ${data}`)
|
||||
}
|
||||
}).catch((err:Error)=>{
|
||||
onError(`HttpDownloadClient has error, http code = ${err}`)
|
||||
})
|
||||
} catch (err) {
|
||||
onError('HttpDownloadClient catch err request uuid ='+request.uuid)
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
"name": "imageknife",
|
||||
"description": "example description",
|
||||
"repository": {},
|
||||
"version": "2.1.2-rc.0",
|
||||
"version": "2.1.2-rc.1",
|
||||
"dependencies": {}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue