feat: add link for individual props/events/slots/configs/icons

This commit is contained in:
Justineo
2021-10-20 01:11:27 +08:00
parent df2b6892d2
commit b0dcdbb873
162 changed files with 2176 additions and 2073 deletions

View File

@@ -38,9 +38,9 @@ export default {
</script>
<docs>
可以指定 `closable` 属性为 `true` 来允许提示被用户主动关闭还可以通过指定 `close-label` 属性来将关闭按钮以文字形式展现
可以指定 [`closable`](#props-closable) 属性为 `true` 来允许提示被用户主动关闭还可以通过指定 [`close-label`](#props-close-label) 属性来将关闭按钮以文字形式展现
</docs>
<docs locale="en-US">
Set the `closable` prop to `true` to allow the alert message to be closed by users. You can also use the `close-label` prop to make the close button shown as specified text.
Set the [`closable`](#props-closable) prop to `true` to allow the alert message to be closed by users. You can also use the [`close-label`](#props-close-label) prop to make the close button shown as specified text.
</docs>

View File

@@ -33,9 +33,9 @@ export default {
</style>
<docs>
可将消息内容写在默认插槽中也可以通过 `message` 属性进行指定
可将消息内容写在默认插槽中也可以通过 [`message`](#props-message) 属性进行指定
</docs>
<docs locale="en-US">
Messages can either be specified in the default slot, or via the `message` prop.
Messages can either be specified in the default slot, or via the [`message`](#props-message) prop.
</docs>