fix: fix refblock render order and typos
This commit is contained in:
parent
c13f5f01a9
commit
cdc042a1c1
@ -35,8 +35,8 @@ const renderPage = etpl.compile(PAGE_TPL)
|
|||||||
const md = remark()
|
const md = remark()
|
||||||
.use(anchor)
|
.use(anchor)
|
||||||
.use(custom)
|
.use(custom)
|
||||||
.use(details)
|
|
||||||
.use(ref)
|
.use(ref)
|
||||||
|
.use(details)
|
||||||
.use(frontmatter)
|
.use(frontmatter)
|
||||||
.use(shortcodes)
|
.use(shortcodes)
|
||||||
.use(demo)
|
.use(demo)
|
||||||
|
@ -93,7 +93,7 @@
|
|||||||
:::warning
|
:::warning
|
||||||
当使用 Vue.js `2.5.17` 及以下版本时,必须绑定 `slot-scope` 使用。
|
当使用 Vue.js `2.5.17` 及以下版本时,必须绑定 `slot-scope` 使用。
|
||||||
:::
|
:::
|
||||||
^^^^
|
^^^
|
||||||
|
|
||||||
### 事件
|
### 事件
|
||||||
|
|
||||||
|
@ -54,4 +54,4 @@
|
|||||||
|
|
||||||
| 名称 | 类型 | 默认值 | 描述 |
|
| 名称 | 类型 | 默认值 | 描述 |
|
||||||
| -- | -- | -- | -- |
|
| -- | -- | -- | -- |
|
||||||
| ``link.routerLink`` | `string` | `router-link` | 在路由模式下使用的链接组件名称,用于在 Nuxt.js 等环境下更换为兼容 Vue Router 的实现。 |
|
| ``link.routerLink`` | `string` | `'router-link'` | 在路由模式下使用的链接组件名称,用于在 Nuxt.js 等环境下更换为兼容 Vue Router 的实现。 |
|
||||||
|
@ -197,7 +197,7 @@
|
|||||||
另外,当前选项数据中除了上面描述的字段之外的其它字段也会自动通过 `v-bind` 进行绑定到作用域参数上。
|
另外,当前选项数据中除了上面描述的字段之外的其它字段也会自动通过 `v-bind` 进行绑定到作用域参数上。
|
||||||
^^^
|
^^^
|
||||||
|
|
||||||
^^^slot-trigger
|
^^^^slot-trigger
|
||||||
整个下拉触发区域。
|
整个下拉触发区域。
|
||||||
|
|
||||||
默认内容:下拉按钮。
|
默认内容:下拉按钮。
|
||||||
@ -212,7 +212,6 @@
|
|||||||
| `expanded` | `boolean` | 下拉菜单是否展开。 |
|
| `expanded` | `boolean` | 下拉菜单是否展开。 |
|
||||||
| `toggle` | `function(force?: boolean): void` | 用于切换下拉菜单展开状态。 |
|
| `toggle` | `function(force?: boolean): void` | 用于切换下拉菜单展开状态。 |
|
||||||
+++
|
+++
|
||||||
^^^
|
|
||||||
|
|
||||||
^^^handlers-desc
|
^^^handlers-desc
|
||||||
需要绑定到触发元素上的事件监听器,可以使用 `v-on="handlers"` 统一进行输出。
|
需要绑定到触发元素上的事件监听器,可以使用 `v-on="handlers"` 统一进行输出。
|
||||||
@ -221,6 +220,7 @@
|
|||||||
用于绑定 `handlers` 的元素需要支持获取焦点,以使各种键盘交互依然可以正常触发。
|
用于绑定 `handlers` 的元素需要支持获取焦点,以使各种键盘交互依然可以正常触发。
|
||||||
:::
|
:::
|
||||||
^^^
|
^^^
|
||||||
|
^^^^
|
||||||
|
|
||||||
^^^slot-selected
|
^^^slot-selected
|
||||||
选中值渲染区域。
|
选中值渲染区域。
|
||||||
|
@ -94,7 +94,7 @@ Separator between adjacent breadcrumb items. Displays a globally configured icon
|
|||||||
:::warning
|
:::warning
|
||||||
When using Vue.js version `2.5.17` and below, it's required to bind a `slot-scope`.
|
When using Vue.js version `2.5.17` and below, it's required to bind a `slot-scope`.
|
||||||
:::
|
:::
|
||||||
^^^^
|
^^^
|
||||||
|
|
||||||
### Events
|
### Events
|
||||||
|
|
||||||
|
@ -172,7 +172,7 @@ The entire drop-down trigger area. Displays the dropdown button by default.
|
|||||||
+++
|
+++
|
||||||
^^^
|
^^^
|
||||||
|
|
||||||
^^^^handlers-desc
|
^^^handlers-desc
|
||||||
Event listeners that need to be bound to the trigger element, can be output using `v-on="handlers"`.
|
Event listeners that need to be bound to the trigger element, can be output using `v-on="handlers"`.
|
||||||
|
|
||||||
:::tip
|
:::tip
|
||||||
|
@ -54,4 +54,4 @@ When `target` has a value of `_blank`, a `noopener` token will be automatically
|
|||||||
|
|
||||||
| Key | Type | Default | Description |
|
| Key | Type | Default | Description |
|
||||||
| -- | -- | -- | -- |
|
| -- | -- | -- | -- |
|
||||||
| ``link.routerLink`` | `string` | `router-link` | The name of the link component used in route mode so that you can replace the default one with a Vue Router-compatible implementation in environments such as Nuxt.js. |
|
| ``link.routerLink`` | `string` | `'router-link'` | The name of the link component used in route mode so that you can replace the default one with a Vue Router-compatible implementation in environments such as Nuxt.js. |
|
||||||
|
@ -176,7 +176,7 @@ The entire content area of each option (option without child `options`). Display
|
|||||||
Additionally, custom properties in current option, apart from the listed ones, will also be passes into the scope object via `v-bind`.
|
Additionally, custom properties in current option, apart from the listed ones, will also be passes into the scope object via `v-bind`.
|
||||||
^^^
|
^^^
|
||||||
|
|
||||||
^^^slot-trigger
|
^^^^slot-trigger
|
||||||
The entire drop-down trigger area. Displays the select input by default.
|
The entire drop-down trigger area. Displays the select input by default.
|
||||||
|
|
||||||
+++Scope properties
|
+++Scope properties
|
||||||
@ -189,15 +189,16 @@ The entire drop-down trigger area. Displays the select input by default.
|
|||||||
| `expanded` | `boolean` | Whether the dropdown menu is expanded or not. |
|
| `expanded` | `boolean` | Whether the dropdown menu is expanded or not. |
|
||||||
| `toggle` | `function(force?: boolean): void` | Used to toggle the expanded state of the dropdown menu. |
|
| `toggle` | `function(force?: boolean): void` | Used to toggle the expanded state of the dropdown menu. |
|
||||||
+++
|
+++
|
||||||
^^^
|
|
||||||
|
|
||||||
^^^^handlers-desc
|
^^^handlers-desc
|
||||||
Event listeners that need to be bound to the trigger element, can be output using `v-on="handlers"`.
|
Event listeners that need to be bound to the trigger element, can be output using `v-on="handlers"`.
|
||||||
|
|
||||||
:::tip
|
:::tip
|
||||||
The element used to bind `handlers` needs to support focus acquisition so that various keyboard interactions can still be triggered properly.
|
The element used to bind `handlers` needs to support focus acquisition so that various keyboard interactions can still be triggered properly.
|
||||||
:::
|
:::
|
||||||
^^^
|
^^^
|
||||||
|
^^^^
|
||||||
|
|
||||||
|
|
||||||
### Events
|
### Events
|
||||||
|
|
||||||
|
@ -181,13 +181,13 @@ In image upload mode, it is used to customize the actions on the floating toolba
|
|||||||
| ``uploading`` | The area of a single image being uploaded in image upload mode. The scope argument is the same as the [`file`](#slots-file) slot. |
|
| ``uploading`` | The area of a single image being uploaded in image upload mode. The scope argument is the same as the [`file`](#slots-file) slot. |
|
||||||
| ``failure`` | The area of a single image that failed to upload in image upload mode. The scope argument is the same as the [`file`](#slots-file) slot. |
|
| ``failure`` | The area of a single image that failed to upload in image upload mode. The scope argument is the same as the [`file`](#slots-file) slot. |
|
||||||
|
|
||||||
^^^^button-label
|
^^^button-label
|
||||||
The content in the upload button.
|
The content in the upload button.
|
||||||
|
|
||||||
Default content: file upload for prompt to select a file, and image upload for upload image icon.
|
Default content: file upload for prompt to select a file, and image upload for upload image icon.
|
||||||
^^^
|
^^^
|
||||||
|
|
||||||
^^^^file
|
^^^file
|
||||||
Single file area to customize the file content.
|
Single file area to customize the file content.
|
||||||
|
|
||||||
+++ scope parameters
|
+++ scope parameters
|
||||||
|
Loading…
Reference in New Issue
Block a user