在IE11上无法跳转,a标签上的:href的路由名在IE上点击路由名变更了可是页面不跳转

vue-cli

#1

<template>

<div class=“Breadcrumb”>

<div class=“Breadcrumb-top”>

<el-breadcrumb separator="/">

<el-breadcrumb-item v-for="(item,key) in $store.state.breadcrumb.breadcrumb" :key=“key”>

<a v-if=“item.index” :href="#/${item.index}">{{item.title}}</a>

<span v-if="!item.index">{{item.title}}</span>

</el-breadcrumb-item>

</el-breadcrumb>

</div>

<div class=“Breadcrumb-title” v-if=“isTitle”>{{$store.getters[‘breadcrumb/breadcrumbTitle’]}}</div>

</div>

</template>

<script>

export default {

name: ‘Breadcrumb’,

computed: {

isTitle (e) {

if (this.$route.path.replace(’/’, ‘’) === ‘taskDetails’) {

return false

}

return true

}

},

mounted () {

},

methods: {

}

}

</script>