feat(List): offset can be string

This commit is contained in:
陈嘉涵
2020-01-29 15:15:19 +08:00
parent 1af1f4ac4f
commit b32705cf93
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ export default {
| v-model | Whether to show loading infothe `load` event will not be triggered when loading | *boolean* | `false` |
| finished | Whether loading is finishedthe `load` event will not be triggered when finished | *boolean* | `false` |
| error | Whether loading is errorthe `load` event will be triggered only when error text clicked, the `sync` modifier is needed | *boolean* | `false` |
| offset | The load event will be triggered when the distance between the scrollbar and the bottom is less than offset | *number* | `300` |
| offset | The load event will be triggered 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* | - |
| error-text | Error loaded text | *string* | - |