shinelp100

Results 6 comments of shinelp100

与[#81](https://github.com/Nikaple/assets-retry/issues/81)这个问题还有一定差别,如 ```html ``` 配置如下: ```javascript domain: ['cdn.a.domain', 'cdn.b.domain', 'cdn.c.domain'], // 可选,最大重试次数,默认 3 次 maxRetryCount: 3, ``` doc.addEventListener('error', errorHandler, true) 监听到四次,只有一张图片会进行重载,但是retryTimesProp++已经自增到4了,如果重载域名是cdn.a.com ---失败---> cdn.b.com,cdn.b.com也加载失败,会尝试cdn.c.domain重载,但是此时会被收集器中currentCollector[retryTimesProp] = 4;拦截了,导致后续重载失败。 我理解应该不被拦截,因为浏览对于四张相同url的图,他只会请求一次,我们应该针对请求次数而不是报错次数去拦截。

已在 e2e/fixture 文件夹下添加 multiple-imgs-load.html文件

I have the same problem, Can anyone fix it?

Similarly encountered this problem, how to use?