We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0a342f commit c6deeb9Copy full SHA for c6deeb9
1 file changed
2-ui/5-loading/03-onload-onerror/1-load-img-callback/solution.md
@@ -2,5 +2,5 @@
2
算法:
3
1. 为每个资源制作 `img`。
4
2. 为每个 image 添加 `onload/onerror`。
5
-3. 在 `onload` 或 `onerror` 被触发时计数器加 1。
+3. 在 `onload` 或 `onerror` 被触发时增加计数器。
6
4. 当计数器值等于资源值时 —— 结束:`callback()`。
0 commit comments