Skip to content

Commit

Permalink
docs(Lazyload): fix preLoad type error and spelling mistakes (youzan#…
Browse files Browse the repository at this point in the history
  • Loading branch information
RSS1102 authored and CatsAndMice committed Apr 8, 2024
1 parent a007d4e commit 54b9f9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/vant/src/lazyload/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ app.use(Lazyload, {
| --- | --- | --- | --- |
| loading | Src of the image while loading | _string_ | - |
| error | Src of the image upon load fail | _string_ | - |
| preload | Proportion of pre-loading height | _string_ | - |
| preLoad | Proportion of pre-loading height | _number_ | - |
| attempt | Attempts count | _number_ | `3` |
| listenEvents | Events that you want vue listen for | _string[]_ | `scroll`... |
| adapter | Dynamically modify the attribute of element | _object_ | - |
Expand Down
2 changes: 1 addition & 1 deletion packages/vant/src/lazyload/README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ app.use(Lazyload, {
| ------------- | ---------------- | ---------- | ---------- |
| loading | 加载时的图片 | _string_ | - |
| error | 错误时的图片 | _string_ | - |
| preload | 预加载高度的比例 | _string_ | - |
| preLoad | 预加载高度的比例 | _number_ | - |
| attempt | 尝试次数 | _number_ | `3` |
| listenEvents | 监听的事件 | _string[]_ | `scroll`|
| adapter | 适配器 | _object_ | - |
Expand Down

0 comments on commit 54b9f9f

Please sign in to comment.