made withLoadMore work... sorta
This commit is contained in:
parent
26bfbdc2ad
commit
b3ed29ff02
5 changed files with 13 additions and 14 deletions
|
@ -82,14 +82,11 @@ const withLoadMore = ({
|
|||
},
|
||||
render () {
|
||||
const props = {
|
||||
props: {
|
||||
...this.$props,
|
||||
[childPropName]: this.entries
|
||||
},
|
||||
on: this.$listeners,
|
||||
scopedSlots: this.$scopedSlots
|
||||
...this.$props,
|
||||
[childPropName]: this.entries
|
||||
// on: this.$listeners // TODO fix listeners
|
||||
}
|
||||
const children = Object.entries(this.$slots).map(([key, value]) => h('template', { slot: key }, value))
|
||||
const children = this.$slots
|
||||
return (
|
||||
<div class="with-load-more">
|
||||
<WrappedComponent {...props}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue