uniapp踩坑记录 使用uview中Collapse 折叠面板组件 具名插槽在app端不生效
不生效插槽写法
<template #title-all>
<view class="giftHead">
<!-- ... -->
</view>
</template>
<template v-slot:title-all>
<view class="giftHead">
<!-- ... -->
</view>
</template>
生效的写法
<template slot="title-all">
<view class="giftHead">
<!-- ... -->
</view>
</template>