Skip to content

Commit b491d0c

Browse files
aisintangbc
authored andcommitted
Update README.md
1 parent 7f38b8c commit b491d0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ More usages or getting start you can refer to these clearly [examples](https://g
123123

124124
| **             Prop             ** | **Type** | **Description** |
125125
|------------------|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------|
126-
| `data-key` | String | The unique key get from `data-sources` in each data object, its value **must be unique** in `data-sources`, it is used for identifying item size. |
126+
| `data-key` | String\|Function | The unique key get from `data-sources` in each data object, or generated by the attributes in each data object of `data-sources`. Its value **must be unique** in `data-sources`, it is used for identifying item size. |
127127
| `data-sources` | Array[Object] | The source array built for list, each array data must be an object and has an unique key for `data-key` property. |
128128
| `data-component` | Component | The render item component created / declared by vue, and it will use the data object in `datas-sources` as render prop and named: `source`. |
129129

0 commit comments

Comments
 (0)