子组件child.vue <template> <div class="toast"> <span>{ {childText}}</span> </div> </template> <script> export default