Update Steps.vue

pull/2569/head
bisubus 2022-05-26 11:17:55 +03:00 committed by GitHub
parent 60f6e1d2e7
commit 794bc56344
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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, {