tabs support + cleanup
This commit is contained in:
parent
8a21594dbc
commit
879f520b75
9 changed files with 74 additions and 14 deletions
|
|
@ -97,7 +97,7 @@ export default {
|
|||
.map((slot, index) => {
|
||||
const props = slot.props
|
||||
if (!props) return
|
||||
const classesTab = ['tab', 'button-default']
|
||||
const classesTab = ['tab']
|
||||
const classesWrapper = ['tab-wrapper']
|
||||
if (this.activeIndex === index) {
|
||||
classesTab.push('active')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue