There is an item object that stores the name , password and so on. There are arrays: person_name , person_password in which are the names and passwords. How to create a new array of tableData objects that stores item objects with data from arrays entered there. Ie, several item objects are created, and in item.name for example, push is made from person_name . That's how I imagine it, but it doesn't work for me.
data() { this.getPerson() person_name: ['John','Mark'] person_password: ['123','321'] let item = { name: '', password: '' } return { this.item.name.push(person_name), this.item.password.push(person_password), tableData: Array(this.person_name.length()).fill(item), info: null }