From 1d301b03f0e920144b0bee0e9d3b7bee23fc9f5c Mon Sep 17 00:00:00 2001 From: Adrien Foulon <6115458+Tofandel@users.noreply.github.com> Date: Mon, 27 Jan 2020 16:54:16 +0100 Subject: [PATCH] Use steps $parent property instead of $children --- packages/steps/src/step.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/steps/src/step.vue b/packages/steps/src/step.vue index bd5eb92a4..e66019312 100644 --- a/packages/steps/src/step.vue +++ b/packages/steps/src/step.vue @@ -136,7 +136,7 @@ export default { methods: { updateStatus(val) { - const prevChild = this.$parent.$children[this.index - 1]; + const prevChild = this.$parent.steps[this.index - 1]; if (val > this.index) { this.internalStatus = this.$parent.finishStatus;