This commit is contained in:
Henry Jameson 2024-12-23 04:15:57 +02:00
parent 34449a7c61
commit 33c9236e45

View file

@ -85,7 +85,6 @@ export default {
setTab (index) {
if (typeof this.onSwitch === 'function') {
this.onSwitch.call(null, this.slots()[index].key)
console.log('DEBUG', this.slots()[index])
}
this.active = index
if (this.scrollableTabs) {
@ -151,7 +150,6 @@ export default {
slot.props['delay-render'] = false
delayRender = false
}
console.log('DEBUG', !delayRender, !this.renderOnlyFocused, active)
const renderSlot = (!delayRender && (!this.renderOnlyFocused || active))
? slot
: ''