Element UI version
2.11.1
OS/Browsers version
Windows 10/ Chrome 81
Vue version
2.6.10
Reproduction Link
https://jsfiddle.net/lzkwin/veybpzkw/6/
Steps to reproduce
- click the button to show popover
What is Expected?
show underline of active tab pane
What is actually happening?
no underline of active tab pane.
2条答案
按热度按时间f2uvfpb91#
hi,
maybe you can use the method calcPaneInstances, follow the link https://jsfiddle.net/n9jL6837/1/ , this behavior is look like to "doLayout" in the table component.
this method is not available in the docs, but you can see the tabs component source https://github.com/ElemeFE/element/blob/dev/packages/tabs/src/tabs.vue
ghhkc1vu2#
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.