I have a data ( add_all_available_area
) as follows:
export default {
data(){
return {
...
add_all_available_area: []
}
when I was at fetch_data,
console.log(this.add_all_available_area.push({name:"joe"}))
Why is the result 1
?
instead of:
[{name:"joe"}]