Link : Fix opening href on disabled el-link (#15347)

This commit is contained in:
Valère 2019-04-30 10:14:32 +02:00 committed by iamkun
parent 4531254d45
commit fa18e93238

View File

@ -6,7 +6,7 @@
disabled && 'is-disabled', disabled && 'is-disabled',
underline && !disabled && 'is-underline' underline && !disabled && 'is-underline'
]" ]"
:href="href" :href="disabled ? null : href"
v-bind="$attrs" v-bind="$attrs"
@click="handleClick" @click="handleClick"
> >