测试组件
<template>
<view>
<view class="">测试slot bug</view>
<text>
<slot name="title">{{ title }}</slot>
</text>
</view>
</template>
<script>
export default {
props: {
title: {
type: String,
default: '默认标题'
}
},
data() {
return {}
}
}
</script>