From f71a112722efcca2c74e55c649bb2874289c46c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=B5=B5=E6=B7=BB?= <657454579@qq.com>
Date: Mon, 4 Mar 2024 14:31:00 +0800
Subject: [PATCH] docs(components): [anchor] word error (#16040)
---
docs/.vitepress/crowdin/en-US/component/anchor.json | 2 +-
docs/en-US/component/anchor.md | 8 ++++----
docs/examples/anchor/affix.vue | 4 ++--
docs/examples/anchor/basic.vue | 4 ++--
docs/examples/anchor/change.vue | 4 ++--
docs/examples/anchor/underline.vue | 4 ++--
6 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/docs/.vitepress/crowdin/en-US/component/anchor.json b/docs/.vitepress/crowdin/en-US/component/anchor.json
index 1d11e36779..95b2ddb731 100644
--- a/docs/.vitepress/crowdin/en-US/component/anchor.json
+++ b/docs/.vitepress/crowdin/en-US/component/anchor.json
@@ -10,5 +10,5 @@
"Scroll Container": "Scroll Container",
"Anchor API": "Anchor API",
"Anchor Attributes": "Anchor Attributes",
- "Anchor events": "Anchor events"
+ "Anchor Events": "Anchor Events"
}
diff --git a/docs/en-US/component/anchor.md b/docs/en-US/component/anchor.md
index 3f149c941e..425eb35f0a 100644
--- a/docs/en-US/component/anchor.md
+++ b/docs/en-US/component/anchor.md
@@ -87,21 +87,21 @@ anchor/affix
| type | set Anchor type. | ^[enum]`'defalut' \| 'underline'` | `default` |
| direction | Set Anchor direction. | ^[enum]`'vertical' \| 'horizontal'` | `vertical` |
-### Anchor events
+### Anchor Events
| Name | Description | Type |
| ------ | ------------------------------ | -------------------------------------- |
| change | callback when the step changes | ^[Function]`(href: string) => void` |
| click | Triggered when the user clicks on the link | ^[Function]`(e: MouseEvent, href?: string) => void` |
-### Anchor methods
+### Anchor Methods
| Name | Description | Type |
| ---------- | ------------------------------------------------------------- | ------- |
| scrollTo | Manually scroll to the specific position. | ^[Function]`(href: string) => void`|
-### Anchor slots
+### Anchor Slots
| Name | Description |
| ---------- | ------------------------------------------------------------- |
@@ -115,7 +115,7 @@ anchor/affix
| title | the text content of the anchor link. | `string` | — |
| href | The address of the anchor link. | `string` | - |
-### AnchorLink slots
+### AnchorLink Slots
| Name | Description |
| -------- | ----------- |
diff --git a/docs/examples/anchor/affix.vue b/docs/examples/anchor/affix.vue
index c65d473e87..92a146c21f 100644
--- a/docs/examples/anchor/affix.vue
+++ b/docs/examples/anchor/affix.vue
@@ -14,10 +14,10 @@
{{ locale['Anchor API'] }}
- {{ locale['Anchor attributes'] }}
+ {{ locale['Anchor Attributes'] }}
- {{ locale['Anchor events'] }}
+ {{ locale['Anchor Events'] }}
diff --git a/docs/examples/anchor/basic.vue b/docs/examples/anchor/basic.vue
index 4efd4147e9..a40ab898ce 100644
--- a/docs/examples/anchor/basic.vue
+++ b/docs/examples/anchor/basic.vue
@@ -13,10 +13,10 @@
{{ locale['Anchor API'] }}
- {{ locale['Anchor attributes'] }}
+ {{ locale['Anchor Attributes'] }}
- {{ locale['Anchor events'] }}
+ {{ locale['Anchor Events'] }}
diff --git a/docs/examples/anchor/change.vue b/docs/examples/anchor/change.vue
index 051a65e6ef..53c5529b11 100644
--- a/docs/examples/anchor/change.vue
+++ b/docs/examples/anchor/change.vue
@@ -13,10 +13,10 @@
{{ locale['Anchor API'] }}
- {{ locale['Anchor attributes'] }}
+ {{ locale['Anchor Attributes'] }}
- {{ locale['Anchor events'] }}
+ {{ locale['Anchor Events'] }}
diff --git a/docs/examples/anchor/underline.vue b/docs/examples/anchor/underline.vue
index 7d432ebc6f..24198f6bf7 100644
--- a/docs/examples/anchor/underline.vue
+++ b/docs/examples/anchor/underline.vue
@@ -13,10 +13,10 @@
{{ locale['Anchor API'] }}
- {{ locale['Anchor attributes'] }}
+ {{ locale['Anchor Attributes'] }}
- {{ locale['Anchor events'] }}
+ {{ locale['Anchor Events'] }}