Skip to main content

All Questions

2 votes
1 answer
901 views

Vue add new items to array of an object property

I have an array like this: campaigns = [ {id: 1, adGroups: [{id: 1, title: 'Hello'}, {id: 2, title: 'Hello'}]}, {id: 2, adGroups: [{id: 3, title: 'Hello'}, {id: 4, title: 'Hello'}]}, ]; I ...
Son Le's user avatar
  • 314
4 votes
1 answer
2k views

vue v-if can't access booleans in arrays

I created a vue component with the following data: data: function () { return { hwshow: [false, false, false, false, false, false, false, false, false, false], }; }, And a method to ...
Joseph Summerhays's user avatar