Compare commits

..

No commits in common. "c24aac45ba6519b0e2b11578eb2efa8bbe18c6cd" and "ae11580b0fd16e06a299a57d867be8e14fc07eb7" have entirely different histories.

4 changed files with 4 additions and 4 deletions

View File

@ -99,7 +99,7 @@ If you are using vite, please use [vite-plugin-style-import](https://github.com/
#### 1. Install Plugin
```bash
npm i vite-plugin-style-import@1.2.0 -D
npm i vite-plugin-style-import -D
```
#### 2. Configure Plugin

View File

@ -100,7 +100,7 @@ pnpm add vant@3
#### 1. 安装插件
```bash
npm i vite-plugin-style-import@1.2.0 -D
npm i vite-plugin-style-import -D
```
#### 2. 配置插件

View File

@ -509,7 +509,7 @@ export default {
| Key | Description | Type |
| --- | --- | --- |
| required | Whether to be a required field, the value is not allowed to be empty string, empty array, `undefined`, `null` | _boolean_ |
| required | Whether to be a required field | _boolean_ |
| message | Error message | _string \| (value, rule) => string_ |
| validator | Custom validator | _(value, rule) => boolean \| string \| Promise_ |
| pattern | Regex pattern | _RegExp_ |

View File

@ -545,7 +545,7 @@ export default {
| 键名 | 说明 | 类型 |
| --- | --- | --- |
| required | 是否为必选字段,当值为空字符串、空数组、`undefined``null` 时,校验不通过 | _boolean_ |
| required | 是否为必选字段 | _boolean_ |
| message | 错误提示文案 | _string \| (value, rule) => string_ |
| validator | 通过函数进行校验 | _(value, rule) => boolean \| string \| Promise_ |
| pattern | 通过正则表达式进行校验 | _RegExp_ |