From f578ac2d3f7b3a1e1966c654d57e7e410f851348 Mon Sep 17 00:00:00 2001 From: chouchouji <70570907+chouchouji@users.noreply.github.com> Date: Sat, 23 Mar 2024 20:07:46 +0800 Subject: [PATCH] docs(cell): correct the type of label (#12721) --- packages/vant/src/cell/README.md | 2 +- packages/vant/src/cell/README.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/vant/src/cell/README.md b/packages/vant/src/cell/README.md index 3a0257ab6..a98f901e8 100644 --- a/packages/vant/src/cell/README.md +++ b/packages/vant/src/cell/README.md @@ -142,7 +142,7 @@ app.use(CellGroup); | --- | --- | --- | --- | | title | Title | _number \| string_ | - | | value | Right text | _number \| string_ | - | -| label | Description below the title | _string_ | - | +| label | Description below the title | _number \| string_ | - | | size | Size, can be set to `large` `normal` | _string_ | - | | icon | Left Icon | _string_ | - | | icon-prefix | Icon className prefix | _string_ | `van-icon` | diff --git a/packages/vant/src/cell/README.zh-CN.md b/packages/vant/src/cell/README.zh-CN.md index 0af1d7550..67ac5c435 100644 --- a/packages/vant/src/cell/README.zh-CN.md +++ b/packages/vant/src/cell/README.zh-CN.md @@ -147,7 +147,7 @@ app.use(CellGroup); | --- | --- | --- | --- | | title | 左侧标题 | _number \| string_ | - | | value | 右侧内容 | _number \| string_ | - | -| label | 标题下方的描述信息 | _string_ | - | +| label | 标题下方的描述信息 | _number \| string_ | - | | size | 单元格大小,可选值为 `large` `normal` | _string_ | - | | icon | 左侧图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props) | _string_ | - | | icon-prefix | 图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props) | _string_ | `van-icon` |