fix(Tabs): incorrect active tab when active prop is zero (#8087)

This commit is contained in:
neverland
2021-02-05 10:40:46 +08:00
committed by GitHub
parent eb96e829f4
commit 4db9449f74

View File

@@ -142,7 +142,7 @@ export default createComponent({
},
children() {
this.setCurrentIndexByName(this.active || this.currentName);
this.setCurrentIndexByName(this.active);
this.setLine();
this.$nextTick(() => {