父组件
<div class="home">
<child :faterToChild="faterToChildData" @childToFather="getChildData" />
{
{
childToFatherData}}
</div>
import child from '../components/child.vue'
components:
父组件
<div class="home">
<child :faterToChild="faterToChildData" @childToFather="getChildData" />
{
{
childToFatherData}}
</div>
import child from '../components/child.vue'
components: