the parent component passes an object to the child component,
tableData: {
key: "",
value: "1001",
number: "8485",
money: "900",
},
I accept this object in the subcomponent
<table class="mailTable">
<tr>
<td>{{tableData.key}}</td>
<td>{{tableData.value}}</td>
<td>{{tableData.number}}</td>
<td>{{tableData.money}}</td>
</tr>
</table>
export default {
props: ["tableData"]
}
result
did I write something wrong in the subcomponent