Skip to content

Commit

Permalink
docs: fix vertical bar in tables (#976)
Browse files Browse the repository at this point in the history
* docs: fix vertical bar in tables

* docs: clear div tag

* docs: revert import css
  • Loading branch information
fz6m committed May 31, 2021
1 parent 68eed2a commit 971a271
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
24 changes: 12 additions & 12 deletions docs/api/index.md
Expand Up @@ -366,9 +366,9 @@ export declare function useLink(props: RouterLinkOptions): {

#### Parameters

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

### useRoute

Expand Down Expand Up @@ -461,9 +461,9 @@ afterEach(guard: NavigationHookAfter): () => void

_Parameters_

| Parameter | Type | Description |
| --------- | ------------------- | ---------------------- |
| guard | NavigationHookAfter | navigation hook to add |
| Parameter | Type | Description |
| --------- | --------------------- | ---------------------- |
| guard | `NavigationHookAfter` | navigation hook to add |

#### Examples

Expand Down Expand Up @@ -573,9 +573,9 @@ hasRoute(name: string | symbol): boolean

_Parameters_

| Parameter | Type | Description |
| --------- | ------- | ----------- |
| name | `string | symbol` | Name of the route to check |
| Parameter | Type | Description |
| --------- | ------------------------------------------------- | -------------------------- |
| name | `string \| symbol` | Name of the route to check |

### isReady

Expand Down Expand Up @@ -631,9 +631,9 @@ removeRoute(name: string | symbol): void

_Parameters_

| Parameter | Type | Description |
| --------- | ------- | ----------- |
| name | `string | symbol` | Name of the route to remove |
| Parameter | Type | Description |
| --------- | --------------------------------------------- | --------------------------- |
| name | `string \| symbol` | Name of the route to remove |

### replace

Expand Down
16 changes: 8 additions & 8 deletions docs/zh/api/index.md
Expand Up @@ -368,7 +368,7 @@ export declare function useLink(props: RouterLinkOptions): {

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

### useRoute

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

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

### addRoute
Expand Down Expand Up @@ -463,7 +463,7 @@ _参数_

| 参数 | 类型 | 描述 |
| ----- | ------------------- | ---------------- |
| guard | NavigationHookAfter | 要添加的导航钩子 |
| guard | `NavigationHookAfter` | 要添加的导航钩子 |

#### 示例

Expand Down Expand Up @@ -574,8 +574,8 @@ hasRoute(name: string | symbol): boolean
_参数_

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

### isReady

Expand Down Expand Up @@ -632,8 +632,8 @@ removeRoute(name: string | symbol): void
_参数_

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

### replace

Expand Down

0 comments on commit 971a271

Please sign in to comment.