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