🌐 AI搜索 & 代理 主页
Skip to content

Commit 46acc08

Browse files
committed
Update README.md
1 parent fbaf64a commit 46acc08

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/nav/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -226,13 +226,13 @@ render the menu contents only when it is shown by setting the `lazy` prop to tru
226226
### Dropdown implementation note
227227

228228
Note that the toggle button is actually rendered as a link `<a>` tag with `role="button"` for
229-
styling purposes, and typically has the `href` set to `#` unless and ID is provided via the `id`
229+
styling purposes, and typically has the `href` set to `#` unless an ID is provided via the `id`
230230
prop.
231231

232-
The toggle will prevent scroll top top behaviour (via javascript) when clicking the toggle link. In
232+
The toggle will prevent scroll-top-top behaviour (via JavaScript) when clicking the toggle link. In
233233
some cases when using SSR, and the user clicks the toggle button _before_ Vue has had a chance to
234-
hydrate the component, the page will scroll to top. In these cases, simply providing a unique ID
235-
via the `id` prop will prevent the unwanted scroll to top behaviour.
234+
hydrate the component, the page will scroll to top. In these cases, simply providing a unique ID via
235+
the `id` prop will prevent the unwanted scroll-to-top behaviour.
236236

237237
## Nav text content
238238

0 commit comments

Comments
 (0)