The problem of getting values in an array

after traversing the array, get the edited data.

Mar.28,2021

events


<template>
  <div>
    <div v-for="item in data1" >
      <Input type="text"  v-model="item.name" @on-change="change(item)" style="width: 200px; padding: 20px;" />
      <Input type="text"  v-model="item.age" @on-change="change(item)" style="width: 200px;"/>
    </div>
  </div>
</template>
<script>
  export default {
    data () {
      return {
        data1: [
          {
            name: 'John Brown',
            age: 18
          },
          {
            name: 'Jim Green',
            age: 24
          },
          {
            name: 'Joe Black',
            age: 30
          }
        ]
      }
    },
    methods: {
      change(item) {
          console.log(item);
      }
    }
  }
</script>

@ on-change= "change (item)"

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35c5e-34389.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35c5e-34389.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?