cleanup
This commit is contained in:
parent
34449a7c61
commit
33c9236e45
|
@ -85,7 +85,6 @@ export default {
|
||||||
setTab (index) {
|
setTab (index) {
|
||||||
if (typeof this.onSwitch === 'function') {
|
if (typeof this.onSwitch === 'function') {
|
||||||
this.onSwitch.call(null, this.slots()[index].key)
|
this.onSwitch.call(null, this.slots()[index].key)
|
||||||
console.log('DEBUG', this.slots()[index])
|
|
||||||
}
|
}
|
||||||
this.active = index
|
this.active = index
|
||||||
if (this.scrollableTabs) {
|
if (this.scrollableTabs) {
|
||||||
|
@ -151,7 +150,6 @@ export default {
|
||||||
slot.props['delay-render'] = false
|
slot.props['delay-render'] = false
|
||||||
delayRender = false
|
delayRender = false
|
||||||
}
|
}
|
||||||
console.log('DEBUG', !delayRender, !this.renderOnlyFocused, active)
|
|
||||||
const renderSlot = (!delayRender && (!this.renderOnlyFocused || active))
|
const renderSlot = (!delayRender && (!this.renderOnlyFocused || active))
|
||||||
? slot
|
? slot
|
||||||
: ''
|
: ''
|
||||||
|
|
Loading…
Reference in a new issue