VUX version
2.7.7
OS/Browsers version
Chrome 65.0.3325.181
Vue version
2.5.3
Code
<group title="123">
<x-address :list="[1,2,3]" v-model="qew">
<template slot="title">qwe</template>
</x-address>
</group>
Steps to reproduce
为XAddress 添加title slot 报错:
Duplicate presence of slot "title" found in the same render tree - this will likely cause render errors.
What is Expected?
自定义title的样式
What is actually happening?
为XAddress 添加title slot 报错:
Duplicate presence of slot "title" found in the same render tree - this will likely cause render errors.
3条答案
按热度按时间2g32fytz1#
猜测是这里的问题
pkmbmrz72#
Same problem.How to solve it?
ghhaqwfi3#
i dont know,but add the 'slot-scope' can fix it.