🌐 AI搜索 & 代理 主页
Skip to content

Commit 8f8b7aa

Browse files
authored
chore(docs): minor update to the table docs
1 parent dddfbed commit 8f8b7aa

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/components/table/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -798,10 +798,11 @@ function.
798798

799799
### Scoped field slots
800800

801-
Scoped field slots give you greater control over how the record data appears. If you want to add an
802-
extra field which does not exist in the records, just add it to the `fields` array, And then
803-
reference the field(s) in the scoped slot(s). Scoped field slots use the following naming syntax:
804-
`'cell[' + field key + ']'`.
801+
Scoped field slots give you greater control over how the record data appears. You can use scoped
802+
slots to provided custom rendering for a particular field. If you want to add an extra field which
803+
does not exist in the records, just add it to the [`fields`](#fields-column-definitions) array,
804+
and then reference the field(s) in the scoped slot(s). Scoped field slots use the following naming
805+
syntax: `'cell[' + field key + ']'`.
805806

806807
You can use the default _fall-back_ scoped slot `'cell[]'` to format any cells that do not have an
807808
explicit scoped slot provided.

0 commit comments

Comments
 (0)