From 794bc56344f89dfb2ca13e940df85d47bb977d38 Mon Sep 17 00:00:00 2001 From: bisubus Date: Thu, 26 May 2022 11:17:55 +0300 Subject: [PATCH] Update Steps.vue --- src/components/steps/Steps.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/steps/Steps.vue b/src/components/steps/Steps.vue index e3db72d6f..9cef40523 100755 --- a/src/components/steps/Steps.vue +++ b/src/components/steps/Steps.vue @@ -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, {