docs(List): remove legacy sync modifier (#8235)

This commit is contained in:
neverland 2021-02-27 20:44:29 +08:00 committed by GitHub
parent 0cd9052a6f
commit 6da5267891
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 16 deletions

View File

@ -166,8 +166,8 @@ export default {
| Attribute | Description | Type | Default |
| --- | --- | --- | --- |
| v-model:loading | Whether to show loading infothe `load` event will not be Emitted when loading | _boolean_ | `false` |
| v-model:error | Whether loading is errorthe `load` event will be Emitted only when error text clicked | _boolean_ | `false` |
| finished | Whether loading is finishedthe `load` event will not be Emitted when finished | _boolean_ | `false` |
| error | Whether loading is errorthe `load` event will be Emitted only when error text clicked, the `sync` modifier is needed | _boolean_ | `false` |
| offset | The load event will be Emitted when the distance between the scrollbar and the bottom is less than offset | _number \| string_ | `300` |
| loading-text | Loading text | _string_ | `Loading...` |
| finished-text | Finished text | _string_ | - |

View File

@ -181,8 +181,8 @@ export default {
| 参数 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
| v-model:loading | 是否处于加载状态,加载过程中不触发 `load` 事件 | _boolean_ | `false` |
| v-model:error | 是否加载失败,加载失败后点击错误提示可以重新触发 `load` 事件 | _boolean_ | `false` |
| finished | 是否已加载完成,加载完成后不再触发 `load` 事件 | _boolean_ | `false` |
| error | 是否加载失败,加载失败后点击错误提示可以重新<br>触发`load`事件,必须使用`sync`修饰符 | _boolean_ | `false` |
| offset | 滚动条与底部距离小于 offset 时触发 `load` 事件 | _number \| string_ | `300` |
| loading-text | 加载过程中的提示文案 | _string_ | `加载中...` |
| finished-text | 加载完成后的提示文案 | _string_ | - |