fix(Tabs): should keep active value after insert item (#7445)
This commit is contained in:
+1
-1
@@ -142,7 +142,7 @@ export default createComponent({
|
||||
},
|
||||
|
||||
children() {
|
||||
this.setCurrentIndexByName(this.currentName || this.active);
|
||||
this.setCurrentIndexByName(this.active || this.currentName);
|
||||
this.setLine();
|
||||
|
||||
this.$nextTick(() => {
|
||||
|
||||
Reference in New Issue
Block a user