Parent.Vue
msg:"",
parentData: {msg:[]},
methods: {
response(file, respone) {
this.msg = respone
console.log(respone)
},
}
Child.Vue
<template>
<div class="result">
<p>{{parentData.msg}}</p>
</div>
</template>
I want to inherit the json data received from the parent component as a child component.
The json data format is uploaded as a photo.
msg
to a child component. – RynGanmsg:"", parentData: {msg:'{{msg.rate_adult}}'}, }),
Failed – RynGan