- 父组件xiaozhushouInput.vue引用子组件xianshidaan.vue
<template>
<xianshidaan v-show="!isxsinput" @watchChild="parentReceive" v-bind:searchdatas="searchdatas"></xianshidaan>
</template>
<template>
<xianshidaan v-show="!isxsinput" @watchChild="parentReceive" v-bind:searchdatas="searchdatas"></xianshidaan>
</template>