Update Steps.vue
parent
60f6e1d2e7
commit
794bc56344
|
@ -64,7 +64,7 @@ export default {
|
|||
}
|
||||
},
|
||||
isActive(item) {
|
||||
return this.activeRoute === item.to || this.activeRoute === item.to + '/' ;
|
||||
return item.to ? this.$router.resolve(item.to).path === this.$route.path : false;
|
||||
},
|
||||
getItemClass(item) {
|
||||
return ['p-steps-item', item.class, {
|
||||
|
|
Loading…
Reference in New Issue