Skip to content

Commit

Permalink
docs: update ready doc
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyib committed Sep 26, 2023
1 parent dbf35c1 commit c29868e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/hooks/src/useRequest/doc/ready/ready.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ group:

# Ready

useRequest provides an `options.ready`, when its value is `false`, the request will never be sent.
By setting `options.ready`, you can control whether a request is sent. When its value is `false`, the request will never be sent.

The specific behavior is as follows:

Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/src/useRequest/doc/ready/ready.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ group:

# Ready

useRequest 提供了一个 `options.ready` 参数,当其值为 `false` 时,请求永远都不会发出。
通过设置 `options.ready`,可以控制请求是否发出。当其值为 `false` 时,请求永远都不会发出。

其具体行为如下:

Expand Down

0 comments on commit c29868e

Please sign in to comment.