Breadcrumb update href with a tag

This commit is contained in:
梁灏 2018-06-20 17:16:38 +08:00
parent 924ce5e53e
commit 32a174366c
3 changed files with 5 additions and 4 deletions

View file

@ -1,6 +1,6 @@
<template>
<span>
<a v-if="to" :class="linkClasses" @click="handleClick">
<a v-if="to" :href="linkUrl" :class="linkClasses" @click.prevent="handleClick">
<slot></slot>
</a>
<span v-else :class="linkClasses">