mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
feat(link): remove href prototype when empty (#2969)
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
disabled && 'is-disabled',
|
||||
underline && !disabled && 'is-underline'
|
||||
]"
|
||||
:href="disabled ? null : href"
|
||||
:href="disabled || !href ? null : href"
|
||||
@click="handleClick"
|
||||
>
|
||||
<i v-if="icon" :class="icon"></i>
|
||||
|
||||
Reference in New Issue
Block a user