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