Skip to content

Commit

Permalink
fix: reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
oasis-cloud committed Jan 22, 2025
1 parent dc3871d commit d557f34
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/packages/form/doc.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Form.useForm() creates a Form instance, which is used to manage all data states.
| getFieldsValue | Get values by a set of field names. Return according to the corresponding structure. Default return mounted field value, but you can use getFieldsValue(true) to get all values | `(name: NamePath \| boolean) => any` |
| setFieldsValue | Set the value of the form (the value will be passed directly to the form store. If you do not want the object passed in to be modified, please copy it and pass it in) | `(values) => void` |
| setFieldValue | Set the value of the corresponding field name | `<T>(name: NamePath, value: T) => void` |
| resetFields | Reset form prompt state | `() => void` |
| resetFields | Reset form prompt state | `(namePaths?: NamePath[]) => void` |
| submit | method to submit a form for validation | `Promise` |

## Theming
Expand Down
2 changes: 1 addition & 1 deletion src/packages/form/doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ Form.useForm()创建 Form 实例,用于管理所有数据状态。
| getFieldsValue | 获取一组字段名对应的值,会按照对应结构返回。默认返回现存字段值,当调用 getFieldsValue(true) 时返回所有值 | `(name: NamePath \| boolean) => any` |
| setFieldsValue | 设置表单的值(该值将直接传入 form store 中。如果你不希望传入对象被修改,请克隆后传入) | `(values) => void` |
| setFieldValue | 设置对应字段名的值 | `<T>(name: NamePath, value: T) => void` |
| resetFields | 重置表单提示状态 | `() => void` |
| resetFields | 重置表单提示状态 | `(namePaths?: NamePath[]) => void` |
| submit | 提交表单进行校验的方法 | `Promise` |

## 主题定制
Expand Down
2 changes: 1 addition & 1 deletion src/packages/form/doc.taro.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ Form.useForm()创建 Form 实例,用于管理所有数据状态。
| getFieldsValue | 获取一组字段名对应的值,会按照对应结构返回。默认返回现存字段值,当调用 getFieldsValue(true) 时返回所有值 | `(name: NamePath \| boolean) => any` |
| setFieldsValue | 设置表单的值(该值将直接传入 form store 中。如果你不希望传入对象被修改,请克隆后传入) | `(values) => void` |
| setFieldValue | 设置对应字段名的值 | `<T>(name: NamePath, value: T) => void` |
| resetFields | 重置表单提示状态 | `() => void` |
| resetFields | 重置表单提示状态 | `(namePaths?: NamePath[]) => void` |
| submit | 提交表单进行校验的方法 | `Promise` |

## 主题定制
Expand Down
2 changes: 1 addition & 1 deletion src/packages/form/doc.zh-TW.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ Form.useForm()創建 Form 實例,用於管理所有數據狀態。
| getFieldsValue | 获取一组字段名对应的值,会按照对应结构返回。默认返回现存字段值,当调用 getFieldsValue(true) 时返回所有值 | `(name: NamePath \| boolean) => any` |
| setFieldsValue | 設定表單的值(該值將直接傳入 form store 中。如果你不希望傳入物件被修改,請複製後傳入) | `(values) => void` |
| setFieldValue | 設定對應欄位名的值 | `<T>(name: NamePath, value: T) => void` |
| resetFields | 重置錶單提示狀態 | `() => void` |
| resetFields | 重置錶單提示狀態 | `(namePaths?: NamePath[]) => void` |
| submit | 提交錶單進行校驗的方法 | `Promise` |

## 主題定制
Expand Down

0 comments on commit d557f34

Please sign in to comment.