mirror of https://github.com/ElemeFE/element
Tabs: set TabNav key (#13178)
parent
cf42b5444e
commit
672ff0a156
|
@ -227,6 +227,7 @@
|
|||
'is-focus': this.isFocus
|
||||
}}
|
||||
id={`tab-${tabName}`}
|
||||
key={`tab-${tabName}`}
|
||||
aria-controls={`pane-${tabName}`}
|
||||
role="tab"
|
||||
aria-selected={ pane.active }
|
||||
|
|
Loading…
Reference in New Issue