Skip to content

Commit 4c1abb1

Browse files
Yucohnyloveloki
andauthored
Update src/content/reference/react-dom/hooks/useFormStatus.md
Co-authored-by: Xleine <[email protected]>
1 parent b8110fe commit 4c1abb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/reference/react-dom/hooks/useFormStatus.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default App() {
6363

6464
* `pending`:布尔值。如果为 `true`,则表示父级 `<form>` 正在等待提交;否则为 `false`
6565

66-
* `data`:实现了 [`FormData interface`](https://developer.mozilla.org/en-US/docs/Web/API/FormData) 的对象,包含父级 `<form>` 正在提交的数据;如果没有活动提交或没有父级 `<form>`,它将为 `null`
66+
* `data`:实现了 [`FormData interface`](https://developer.mozilla.org/en-US/docs/Web/API/FormData) 的对象,包含父级 `<form>` 正在提交的数据;如果没有进行提交或没有父级 `<form>`,它将为 `null`
6767

6868
* `method`:字符串,可以是 `'get'``'post'`。表示父级 `<form>` 使用 `GET``POST` [HTTP 方法](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods) 进行提交。默认情况下,`<form>` 将使用 `GET` 方法,并可以通过 [`method`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#method) 属性指定。
6969

0 commit comments

Comments
 (0)