Skip to content

Commit feb66e5

Browse files
chore(submodule): update common (#3736)
* chore(submodule): update common * chore: fix typos --------- Co-authored-by: 黎伟杰 <674416404@qq.com>
1 parent aeb348c commit feb66e5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/tabs/tab-nav.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ export default mixins(classPrefixMixins, getGlobalIconMixins()).extend({
135135
return this.addable ? { 'min-height': '48px' } : null;
136136
},
137137
activeElement(): HTMLElement {
138-
const activeIndx = this.navs.findIndex((nav) => nav.active);
139-
if (activeIndx > -1) {
140-
return (this.$refs[`tabItem${activeIndx}`] as unknown as ComponentPublicInstance)?.$el;
138+
const activeIndex = this.navs.findIndex((nav) => nav.active);
139+
if (activeIndex > -1) {
140+
return (this.$refs[`tabItem${activeIndex}`] as unknown as ComponentPublicInstance)?.$el;
141141
}
142142
return null;
143143
},

0 commit comments

Comments
 (0)