problem description
I added a slot, parent component reference to the child component, resulting in an error
the environmental background of the problems and what methods you have tried
related codes
/ / Please paste the code text below (do not replace the code with pictures)
subcomponents
<template>
<div class="weui-cell weui-cell_access" hover-class="weui-cell_active">
<div class="weui-cell__bd font-text">{{titleText}}</div>
<div v-if="isShowTo" class="weui-cell__ft weui-cell__ft_in-access font-to" >{{contentText}}</div>
<slot name="hide"></slot>
</div>
</template>
parent component
<template>
<div class="intro">
<weui-no titleText="">
<div slot="hide" class="hide-img">
<span></span>
</div>
</weui-no>
error message
what result do you expect? What is the error message actually seen?
Isn"t that how it is quoted invue? If this doesn"t work, how can I add