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,7 +1,8 @@
export default {
computed: {
linkUrl () {
const type = typeof this.to;
return type === 'string' ? this.to : null;
}
},
methods: {