Skip to content

Commit 6e76adc

Browse files
committed
docs: updated
1 parent 3f83918 commit 6e76adc

File tree

4 files changed

+2670
-211
lines changed

4 files changed

+2670
-211
lines changed

docs/en/components/useRequest.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,14 @@ The `useRequest` component accepts all the same props as the `useRequest` hook o
4747

4848
### Consistency with useRequest Hook
4949

50-
All features, options, and return values of the `useRequest` component are consistent with the `useRequest` hook. You can refer to the [useRequest hook documentation](../hooks/useRequest.md) for detailed API descriptions and advanced usage.
50+
All features, options, and return values of the `useRequest` component are consistent with the `useRequest` hook. You can refer to the useRequest hook documentation for detailed API descriptions and advanced usage.
5151

5252
## When to Use
5353

5454
- When you prefer a declarative, template-based approach for data fetching
5555
- When you want to leverage slots for flexible UI customization
5656
- When you need to keep logic and UI closely coupled in your component templates
5757

58-
## References
59-
60-
- [useRequest hook documentation](../hooks/useRequest.md)
61-
- [Component Hook Guide](./guide.md)
6258

6359
## Using `createUseRequestComponent`
6460

docs/zh/components/useRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
### 与 useRequest hook 的一致性
4242

43-
所有功能、参数和返回值都与 `useRequest` hook 保持一致。详细 API 可参考 [useRequest hook 文档](../hooks/useRequest.md)
43+
所有功能、参数和返回值都与 `useRequest` hook 保持一致。详细 API 可参考 useRequest hook 文档。
4444

4545
---
4646

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
"build:vitepress-demo-block": "cd packages/vitepress/vitepress-demo-block && pnpm build",
1313
"docs:dev": "vitepress dev docs",
1414
"docs:build": "pnpm build && vitepress build docs",
15-
"docs:build-github": "pnpm build:vitepress-demo-block && tsx scripts/gitPage.ts github",
16-
"docs:build-gitee": "pnpm build:vitepress-demo-block && tsx scripts/gitPage.ts gitee",
1715
"build": "pnpm recursive exec pnpm run build",
1816
"test": "vitest",
1917
"test:ui": "vitest --ui",

0 commit comments

Comments
 (0)