mirror of https://github.com/ElemeFE/element
Use steps $parent property instead of $children
parent
6ec5f8e900
commit
1d301b03f0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue