Use steps $parent property instead of $children

pull/18758/head
Adrien Foulon 2020-01-27 16:54:16 +01:00 committed by GitHub
parent 6ec5f8e900
commit 1d301b03f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ export default {
methods: { methods: {
updateStatus(val) { updateStatus(val) {
const prevChild = this.$parent.$children[this.index - 1]; const prevChild = this.$parent.steps[this.index - 1];
if (val > this.index) { if (val > this.index) {
this.internalStatus = this.$parent.finishStatus; this.internalStatus = this.$parent.finishStatus;