修复自定义下载失败无失败回调以及新增全局自定义下载接口

Signed-off-by: zgf <zenggaofeng2@h-partners.com>
This commit is contained in:
zgf 2024-07-26 15:17:13 +08:00
parent 44b3ca48ef
commit a792587c93
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ struct LoadStatePage {
loadSrc: "abc",
placeholderSrc:$r('app.media.loading'),
errorholderSrc:$r('app.media.failed'),
customImage:custom,
customGetImage:custom,
onLoadListener: {
onLoadFailed:(err)=>{
this.message = "err:" + err