mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-16 11:44:01 +08:00
Link : Fix opening href on disabled el-link (#15347)
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
disabled && 'is-disabled',
|
||||
underline && !disabled && 'is-underline'
|
||||
]"
|
||||
:href="href"
|
||||
:href="disabled ? null : href"
|
||||
v-bind="$attrs"
|
||||
@click="handleClick"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user