mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-02 12:18:46 +08:00
Link : Fix opening href on disabled el-link (#15347)
This commit is contained in:
parent
4531254d45
commit
fa18e93238
@ -6,7 +6,7 @@
|
||||
disabled && 'is-disabled',
|
||||
underline && !disabled && 'is-underline'
|
||||
]"
|
||||
:href="href"
|
||||
:href="disabled ? null : href"
|
||||
v-bind="$attrs"
|
||||
@click="handleClick"
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user