diff --git a/src/tabs/index.js b/src/tabs/index.js index 1db2d510b..a0d9e43b1 100644 --- a/src/tabs/index.js +++ b/src/tabs/index.js @@ -142,7 +142,7 @@ export default createComponent({ }, children() { - this.setCurrentIndexByName(this.active || this.currentName); + this.setCurrentIndexByName(this.active); this.setLine(); this.$nextTick(() => {