mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs(List): remove legacy sync modifier (#8235)
This commit is contained in:
parent
0cd9052a6f
commit
6da5267891
@ -166,8 +166,8 @@ export default {
|
||||
| Attribute | Description | Type | Default |
|
||||
| --- | --- | --- | --- |
|
||||
| v-model:loading | Whether to show loading info,the `load` event will not be Emitted when loading | _boolean_ | `false` |
|
||||
| v-model:error | Whether loading is error,the `load` event will be Emitted only when error text clicked | _boolean_ | `false` |
|
||||
| finished | Whether loading is finished,the `load` event will not be Emitted when finished | _boolean_ | `false` |
|
||||
| error | Whether loading is error,the `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_ | - |
|
||||
|
@ -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_ | - |
|
||||
|
Loading…
x
Reference in New Issue
Block a user