diff --git a/packages/vant/src/field/README.md b/packages/vant/src/field/README.md index 76b522646..76897add2 100644 --- a/packages/vant/src/field/README.md +++ b/packages/vant/src/field/README.md @@ -319,8 +319,8 @@ Use `label-align` prop to align the input value, can be set to `center`, `right` | type | Input type, support all [native types](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types) and `digit` type | _FieldType_ | `text` | | size | Size, can be set to `large` `normal` | _string_ | - | | maxlength | Max length of value | _number \| string_ | - | -| min | When the input type is `number` or `digit`, set the minimum allowable value | \_number | - | -| max | When the input type is `number` or `digit`, set the maximum allowable value | \_number | - | +| min | When the input type is `number` or `digit`, set the minimum allowable value | _number_ | - | +| max | When the input type is `number` or `digit`, set the maximum allowable value | _number_ | - | | placeholder | Input placeholder | _string_ | - | | border | Whether to show inner border | _boolean_ | `true` | | disabled | Whether to disable field | _boolean_ | `false` | diff --git a/packages/vant/src/field/README.zh-CN.md b/packages/vant/src/field/README.zh-CN.md index daa2df561..83824b6f4 100644 --- a/packages/vant/src/field/README.zh-CN.md +++ b/packages/vant/src/field/README.zh-CN.md @@ -348,8 +348,8 @@ export default { | type | 输入框类型, 支持原生 input 标签的所有 [type 属性](https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/input#%3Cinput%3E_types),额外支持了 `digit` 类型 | _FieldType_ | `text` | | size | 大小,可选值为 `large` `normal` | _string_ | - | | maxlength | 输入的最大字符数 | _number \| string_ | - | -| min | 输入框类型为 `number` 或 `digit` 类型时设置可允许的最小值 | \_number | - | -| max | 输入框类型为 `number` 或 `digit` 类型时设置可允许的最大值 | \_number | - | +| min | 输入框类型为 `number` 或 `digit` 类型时设置可允许的最小值 | _number_ | - | +| max | 输入框类型为 `number` 或 `digit` 类型时设置可允许的最大值 | _number_ | - | | placeholder | 输入框占位提示文字 | _string_ | - | | border | 是否显示内边框 | _boolean_ | `true` | | disabled | 是否禁用输入框 | _boolean_ | `false` |