# HTLink 链接
# 基本用法
- 通过子元素设置触发链接的文字
href原生属性,通过href属性设置链接target原生属性,指定链接的资源在哪里打开
# type 主题类型
可以通过 type 设置不同的主题,默认是 primary
parimaryel原生主题,ht调整了样式secondaryht独有主题- 其他 el 主题均支持,且和 el 保持一致
# size 尺寸
可以通过 size 设置尺寸,支持 default 和 small 尺寸,默认是 default 尺寸。
# withArrow 是否带箭头
# API
| 属性 | 描述 | 类型 | 默认值 |
|---|---|---|---|
| href | 链接 | String | - |
| target | 跳转方式 | String | _self |
| type | 类型 | String | 'primary' |
| size | 尺寸 | String | 'default' |
| withArrow | 是否带箭头 | Boolean | false |
更多API请参考 Element-UI Link (opens new window)