yangchenggong1_wd

fix |> 20236 【底部导航】进入首页,首次安装包,会有概率新闻图标不展示

@@ -204,13 +204,18 @@ export struct BottomNavigationComponent { @@ -204,13 +204,18 @@ export struct BottomNavigationComponent {
204 // 占位图使用本地资源 204 // 占位图使用本地资源
205 placeholderSrc: defaultIcon, 205 placeholderSrc: defaultIcon,
206 // 失败占位图使用本地资源 206 // 失败占位图使用本地资源
207 - // errorholderSrc: defaultIcon, 207 + errorholderSrc: defaultIcon,
208 // 是否开启一级内存缓存 208 // 是否开启一级内存缓存
209 isCacheable: true, 209 isCacheable: true,
210 // 磁盘缓存 210 // 磁盘缓存
211 strategy: new ALL(), 211 strategy: new ALL(),
212 gif: { 212 gif: {
213 playTimes: 1 213 playTimes: 1
  214 + },
  215 + onLoadListener:{
  216 + onLoadFailed:(err)=>{
  217 + console.error("ycg","Load Failed Reason: " + err + " cost " + (new Date().getTime() ) + " milliseconds");
  218 + }
214 } 219 }
215 }; 220 };
216 return imageKnifeOption 221 return imageKnifeOption