Skip to content

Commit 971a271

Browse files
authored
docs: fix vertical bar in tables (vuejs#976)
* docs: fix vertical bar in tables * docs: clear div tag * docs: revert import css
1 parent 68eed2a commit 971a271

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

docs/api/index.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -366,9 +366,9 @@ export declare function useLink(props: RouterLinkOptions): {
366366

367367
#### Parameters
368368

369-
| Parameter | Type | Description |
370-
| --------- | ----------------- | ------------------------------------------------------------------------------------- |
371-
| props | RouterLinkOptions | props object that can be passed to `<router-link>`. Accepts `Ref`s and `ComputedRef`s |
369+
| Parameter | Type | Description |
370+
| --------- | ------------------- | ------------------------------------------------------------------------------------- |
371+
| props | `RouterLinkOptions` | props object that can be passed to `<router-link>`. Accepts `Ref`s and `ComputedRef`s |
372372

373373
### useRoute
374374

@@ -461,9 +461,9 @@ afterEach(guard: NavigationHookAfter): () => void
461461

462462
_Parameters_
463463

464-
| Parameter | Type | Description |
465-
| --------- | ------------------- | ---------------------- |
466-
| guard | NavigationHookAfter | navigation hook to add |
464+
| Parameter | Type | Description |
465+
| --------- | --------------------- | ---------------------- |
466+
| guard | `NavigationHookAfter` | navigation hook to add |
467467

468468
#### Examples
469469

@@ -573,9 +573,9 @@ hasRoute(name: string | symbol): boolean
573573

574574
_Parameters_
575575

576-
| Parameter | Type | Description |
577-
| --------- | ------- | ----------- |
578-
| name | `string | symbol` | Name of the route to check |
576+
| Parameter | Type | Description |
577+
| --------- | ------------------------------------------------- | -------------------------- |
578+
| name | `string \| symbol` | Name of the route to check |
579579

580580
### isReady
581581

@@ -631,9 +631,9 @@ removeRoute(name: string | symbol): void
631631

632632
_Parameters_
633633

634-
| Parameter | Type | Description |
635-
| --------- | ------- | ----------- |
636-
| name | `string | symbol` | Name of the route to remove |
634+
| Parameter | Type | Description |
635+
| --------- | --------------------------------------------- | --------------------------- |
636+
| name | `string \| symbol` | Name of the route to remove |
637637

638638
### replace
639639

docs/zh/api/index.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ export declare function useLink(props: RouterLinkOptions): {
368368

369369
| 参数 | 类型 | 描述 |
370370
| ----- | ----------------- | ---------------------------------------------------------------- |
371-
| props | RouterLinkOptions | props 对象可以传递给`<router-link>`。接收 `Ref``ComputedRef` |
371+
| props | `RouterLinkOptions` | props 对象可以传递给`<router-link>`。接收 `Ref``ComputedRef` |
372372

373373
### useRoute
374374

@@ -425,8 +425,8 @@ addRoute(parentName: string | symbol, route: RouteRecordRaw): () => void
425425
_参数_
426426

427427
| 参数 | 类型 | 描述 |
428-
| ---------- | ----------------------------------- | ---------------- | -------------------------------------- |
429-
| parentName | `string| symbol` | 父路由记录,`route` 应该被添加到的位置 |
428+
| ---------- | ----------------------------------- | ---------------- |
429+
| parentName | `string \| symbol` | 父路由记录,`route` 应该被添加到的位置 |
430430
| route | [`RouteRecordRaw`](#routerecordraw) | 要添加的路由记录 |
431431

432432
### addRoute
@@ -463,7 +463,7 @@ _参数_
463463

464464
| 参数 | 类型 | 描述 |
465465
| ----- | ------------------- | ---------------- |
466-
| guard | NavigationHookAfter | 要添加的导航钩子 |
466+
| guard | `NavigationHookAfter` | 要添加的导航钩子 |
467467

468468
#### 示例
469469

@@ -574,8 +574,8 @@ hasRoute(name: string | symbol): boolean
574574
_参数_
575575

576576
| 参数 | 类型 | 描述 |
577-
| ---- | ------- | ------- | ---------------- |
578-
| name | `string | symbol` | 要确认的路由名称 |
577+
| ---- | ------- | ------- |
578+
| name | `string \| symbol` | 要确认的路由名称 |
579579

580580
### isReady
581581

@@ -632,8 +632,8 @@ removeRoute(name: string | symbol): void
632632
_参数_
633633

634634
| 参数 | 类型 | 描述 |
635-
| ---- | ------- | ------- | ---------------- |
636-
| name | `string | symbol` | 要删除的路由名称 |
635+
| ---- | ------- | ------- |
636+
| name | `string \| symbol` | 要删除的路由名称 |
637637

638638
### replace
639639

0 commit comments

Comments
 (0)