You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
410 B
23 lines
410 B
<template>
|
|
<recycle-list for="item in longList" switch="type">
|
|
<cell-slot case="A">
|
|
<div v-for="panel in item.list" :key="panel.id">
|
|
<text>{{panel.label}}</text>
|
|
</div>
|
|
</cell-slot>
|
|
</recycle-list>
|
|
</template>
|
|
|
|
<script>
|
|
module.exports = {
|
|
data () {
|
|
return {
|
|
longList: [
|
|
{ type: 'A' },
|
|
{ type: 'A' }
|
|
]
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
|