i use this code to display all persons i have.
<div class="col-md-3" v-for="person in persons">
</div>
//Each Person is an Object. in Each Object there are multiple objects(Money Given). i Need to Calculate the sum of total amount (Array) existing in those objects (All money given to each person)
//Like to say, all the credits relative to each Person.
I use to do that with Php, but how can i do that with computed ?
Vuejs code :
var app = new Vue({
el: '#app',
data: {
persons:[],
},
methods: {
getPersons (),
},
Thanks you !
Here is a sample of persons. multiples objects, and inside each object, usercashfloats with multiple objects i need to calculate the amount . (Amount exist in each these objects)

personsdatausercashfloat?usercashfloatarray hasamountproperty