mirror of https://github.com/ElemeFE/element
parent
0ccd537cc8
commit
1db2d64ddc
|
@ -82,7 +82,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.currentName = this.activeName || this.$children[0].index || '1';
|
this.currentName = this.activeName || this.$children[0] && this.$children[0].index || '1';
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$forceUpdate();
|
this.$forceUpdate();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue