2018-02-25 19:20:40 +00:00
|
|
|
{{#await asyncProps}}
|
|
|
|
{{then props}}
|
|
|
|
<VirtualListItem :component
|
|
|
|
:offset
|
|
|
|
:props
|
|
|
|
:key
|
|
|
|
:index
|
|
|
|
/>
|
|
|
|
{{/await}}
|
2018-01-24 02:15:14 +00:00
|
|
|
<script>
|
|
|
|
import VirtualListItem from './VirtualListItem'
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
VirtualListItem
|
2018-02-25 19:20:40 +00:00
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
asyncProps: async (makeProps, key) => makeProps && makeProps(key)
|
2018-01-24 02:15:14 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|