fix(Tabs): should keep active value after insert item (#7445)

This commit is contained in:
neverland
2020-10-29 21:48:54 +08:00
committed by GitHub
parent 1c38b7385b
commit 134d8ccd6f
3 changed files with 40 additions and 1 deletions
+1 -1
View File
@@ -142,7 +142,7 @@ export default createComponent({
},
children() {
this.setCurrentIndexByName(this.currentName || this.active);
this.setCurrentIndexByName(this.active || this.currentName);
this.setLine();
this.$nextTick(() => {