Skip to content

Commit fce4ed8

Browse files
authored
Merge pull request #359 from aceofwings/main
Update Table to return 1 callable
2 parents d2d4a9f + f67971c commit fce4ed8

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

src/components/BTable/BTable.vue

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -191,20 +191,19 @@ export default defineComponent({
191191
)
192192
193193
if (props.responsive) {
194-
return () =>
195-
h(
196-
'div',
197-
{
198-
class: {
199-
'table-responsive': typeof props.responsive === 'boolean' && props.responsive,
200-
[`table-responsive-${props.responsive}`]: typeof props.responsive === 'string',
201-
},
194+
return h(
195+
'div',
196+
{
197+
class: {
198+
'table-responsive': typeof props.responsive === 'boolean' && props.responsive,
199+
[`table-responsive-${props.responsive}`]: typeof props.responsive === 'string',
202200
},
203-
table
204-
)
201+
},
202+
table
203+
)
205204
}
206205
207-
return () => table
206+
return table
208207
}
209208
},
210209
})

0 commit comments

Comments
 (0)