mirror of
https://github.com/youzan/vant.git
synced 2026-01-14 06:03:45 +08:00
fix(Tabs): incorrect active tab when active prop is zero (#8087)
This commit is contained in:
@@ -142,7 +142,7 @@ export default createComponent({
|
||||
},
|
||||
|
||||
children() {
|
||||
this.setCurrentIndexByName(this.active || this.currentName);
|
||||
this.setCurrentIndexByName(this.active);
|
||||
this.setLine();
|
||||
|
||||
this.$nextTick(() => {
|
||||
|
||||
Reference in New Issue
Block a user