data: function () {
return {
address: [
{
flat: 0,
house: 0,
street: 0,
settlements: 0,
municipality: 0,
edge: 0
},
{
flat: 0,
house: 0,
street: 0,
settlements: 0,
municipality: 0,
edge: 0
}
]
}
},
methods: {
paintLine() {
for(var prop in this.address[0]) {
console.log(prop + ':' + this.address[0].prop);
}
}
}