refactor: improve union type formatting

This commit is contained in:
Justineo
2021-10-18 16:51:48 +08:00
parent 87e976bb7e
commit 85ef96d46b
38 changed files with 72 additions and 72 deletions

View File

@@ -14,7 +14,7 @@
| 名称 | 类型 | 默认值 | 描述 |
| --- | --- | --- | --- |
| `to` | `string|Object` | - | 点击面包屑项之后要跳转到的地址。见 [`Link`](./link#属性) 组件的同名属性。 |
| `to` | `string | Object` | - | 点击面包屑项之后要跳转到的地址。见 [`Link`](./link#属性) 组件的同名属性。 |
| `type` | `string` | `'link'` | [^link] |
| `native` | `boolean` | `false` | 当值为 `true` 且指定了 `to` 时,会直接使用原生 `<a>` 元素,`to` 值会被设置到 `<a>` 标签的 `href` 属性上。 |